File tree Expand file tree Collapse file tree 1 file changed +49
-1
lines changed Expand file tree Collapse file tree 1 file changed +49
-1
lines changed Original file line number Diff line number Diff line change 46
46
fail-fast : false
47
47
matrix :
48
48
arduino-platform :
49
- # ESP32
49
+ # ESP32 ci use dev json
50
50
- ' feather_esp32s2'
51
51
- ' feather_esp32s3'
52
52
# nRF52
82
82
83
83
- name : test platforms
84
84
run : python3 ci/build_platform.py ${{ matrix.arduino-platform }}
85
+
86
+ build-esp32-stable :
87
+ runs-on : ubuntu-latest
88
+ needs : pre-commit
89
+ strategy :
90
+ fail-fast : false
91
+ matrix :
92
+ arduino-platform :
93
+ # ESP32
94
+ - ' feather_esp32s2'
95
+ - ' feather_esp32s3'
96
+
97
+ steps :
98
+ - name : Setup Python
99
+ uses : actions/setup-python@v5
100
+ with :
101
+ python-version : ' 3.x'
102
+
103
+ - name : Checkout code
104
+ uses : actions/checkout@v4
105
+
106
+ - name : Checkout adafruit/ci-arduino
107
+ uses : actions/checkout@v4
108
+ with :
109
+ repository : adafruit/ci-arduino
110
+ ref : importable-build_platform
111
+ path : ci
112
+
113
+ - name : pre-install
114
+ run : bash ci/actions_install.sh
115
+
116
+ - name : Install arduino-esp32 stable and Libraries
117
+ env :
118
+ BSP_URLS : https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
119
+ run : |
120
+ arduino-cli core install esp32:esp32 --additional-urls $BSP_URLS
121
+ arduino-cli lib install "Adafruit SPIFlash" "MIDI Library" "Adafruit seesaw Library" "Adafruit NeoPixel" "SdFat - Adafruit Fork" "SD" "Adafruit Circuit Playground" "Adafruit InternalFlash" "Pico PIO USB"
122
+
123
+ - name : Create custom build script
124
+ with :
125
+ working-directory : ${{ github.workspace }}/ci
126
+ run : |
127
+ echo 'import build_platform' > build_esp32_stable.py
128
+ echo 'build_platform.test_examples_in_folder("'${{ matrix.arduino-platform }}'")' >> build_esp32_v2.py
129
+
130
+ - name : test platforms
131
+ run : |
132
+ python3 ci/build_esp32_stable.py
You can’t perform that action at this time.
0 commit comments