This repository was archived by the owner on Jan 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +65
-4
lines changed Expand file tree Collapse file tree 2 files changed +65
-4
lines changed Original file line number Diff line number Diff line change
1
+ name : ESP Async Web Server CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - release/*
8
+ pull_request :
9
+
10
+ jobs :
11
+
12
+ build-arduino-esp32 :
13
+ name : Build Arduino ESP32
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v1
17
+ - name : Build Tests
18
+ env :
19
+ TRAVIS_BUILD_DIR : ${{ github.workspace }}
20
+ run : bash $TRAVIS_BUILD_DIR/travis/build.sh esp32
21
+
22
+ build-arduino-esp8266 :
23
+ name : Build Arduino ESP8266
24
+ runs-on : ubuntu-latest
25
+ steps :
26
+ - uses : actions/checkout@v1
27
+ - name : Build Tests
28
+ env :
29
+ TRAVIS_BUILD_DIR : ${{ github.workspace }}
30
+ run : bash $TRAVIS_BUILD_DIR/travis/build.sh esp8266
31
+
32
+ build-pio-esp32 :
33
+ name : Build PlatformIO ESP32
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - uses : actions/checkout@v1
37
+ - name : Install Python Wheel
38
+ run : pip install wheel
39
+ - name : Build Tests
40
+ env :
41
+ TRAVIS_BUILD_DIR : ${{ github.workspace }}
42
+ run : bash $TRAVIS_BUILD_DIR/travis/build-pio.sh esp32dev
43
+
44
+ build-pio-esp8266 :
45
+ name : Build PlatformIO ESP8266
46
+ runs-on : ubuntu-latest
47
+ steps :
48
+ - uses : actions/checkout@v1
49
+ - name : Install Python Wheel
50
+ run : pip install wheel
51
+ - name : Build Tests
52
+ env :
53
+ TRAVIS_BUILD_DIR : ${{ github.workspace }}
54
+ run : bash $TRAVIS_BUILD_DIR/travis/build-pio.sh esp12e
Original file line number Diff line number Diff line change @@ -4,21 +4,28 @@ BOARD=$1
4
4
5
5
echo -e " travis_fold:start:install_pio"
6
6
pip install -U platformio
7
+ if [ $? -ne 0 ]; then exit 1; fi
7
8
8
- platformio lib install https://github.com/bblanchon/ArduinoJson.git
9
+ python -m platformio lib --storage-dir $PWD
10
+ if [ $? -ne 0 ]; then exit 1; fi
11
+
12
+ python -m platformio lib -g install https://github.com/bblanchon/ArduinoJson.git
13
+ if [ $? -ne 0 ]; then exit 1; fi
9
14
10
15
case $BOARD in
11
16
esp32dev)
12
- platformio lib -g install https://github.com/me-no-dev/AsyncTCP.git
17
+ python -m platformio lib -g install https://github.com/me-no-dev/AsyncTCP.git
13
18
;;
14
19
esp12e)
15
- platformio lib -g install https://github.com/me-no-dev/ESPAsyncTCP.git || true
20
+ python -m platformio lib -g install https://github.com/me-no-dev/ESPAsyncTCP.git || true
16
21
;;
17
22
esac
23
+ if [ $? -ne 0 ]; then exit 1; fi
18
24
echo -e " travis_fold:end:install_pio"
19
25
20
26
echo -e " travis_fold:start:test_pio"
21
27
for EXAMPLE in $PWD /examples/* /* .ino; do
22
- platformio ci $EXAMPLE -l ' .' -b $BOARD
28
+ python -m platformio ci $EXAMPLE -l ' .' -b $BOARD
29
+ if [ $? -ne 0 ]; then exit 1; fi
23
30
done
24
31
echo -e " travis_fold:end:test_pio"
You can’t perform that action at this time.
0 commit comments