This repository was archived by the owner on Mar 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
44
55echo -e " travis_fold:start:install_pio"
66pip install -U platformio
7+ if [ $? -ne 0 ]; then exit 1; fi
78
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
914
1015case $BOARD in
1116esp32dev)
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
1318 ;;
1419esp12e)
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
1621 ;;
1722esac
23+ if [ $? -ne 0 ]; then exit 1; fi
1824echo -e " travis_fold:end:install_pio"
1925
2026echo -e " travis_fold:start:test_pio"
2127for 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
2330done
2431echo -e " travis_fold:end:test_pio"
You can’t perform that action at this time.
0 commit comments