-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
50 lines (45 loc) · 1.15 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
variables:
GIT_SUBMODULE_STRATEGY: normal
platformio:
before_script:
- apt-get update -qq && apt-get install -y -qq pipx
- pipx install platformio
- export PATH="$PATH:~/.local/bin"
- platformio lib --global install ArduinoJson TaskScheduler PubSubClient ESPAsyncTCP AsyncTCP
script:
- bash test/ci/test_platformio.sh
catch_testing:
before_script:
- apt-get update -qq && apt-get install -y -qq cmake
- apt-get install libboost-system-dev -y -qq
- cmake . -DCMAKE_CXX_FLAGS="-Wall -Werror"
- make
script:
- run-parts --regex catch_ bin/
arduino:
before_script:
- apt-get update -qq && apt-get install -y -qq python3-serial
# - pipx ensurepath
# - pipx install pyserial
script:
- bash test/ci/test_arduino.sh
pages:
script:
- apt-get update && apt-get install -y doxygen
- doxygen doxygen/Doxyfile
- mv doxygen/documentation/html/ public/
artifacts:
paths:
- public
only:
- master
pages_develop:
script:
- apt-get update && apt-get install -y doxygen
- doxygen doxygen/Doxyfile
- mv doxygen/documentation/html/ html/
artifacts:
paths:
- html
only:
- develop