@@ -167,7 +167,6 @@ jobs:
167
167
- " feather_nrf52840_express"
168
168
- " feather_radiofruit_zigbee"
169
169
- " feather_stm32f405_express"
170
- - " fomu"
171
170
- " gemma_m0"
172
171
- " grandcentral_m4_express"
173
172
- " hallowing_m0_express"
@@ -255,12 +254,55 @@ jobs:
255
254
pip install requests sh click setuptools awscli
256
255
wget https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
257
256
sudo tar -C /usr --strip-components=1 -xaf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2
257
+ - name : Versions
258
+ run : |
259
+ gcc --version
260
+ arm-none-eabi-gcc --version
261
+ python3 --version
262
+ - uses : actions/checkout@v1
263
+ with :
264
+ submodules : true
265
+ - name : mpy-cross
266
+ run : make -C mpy-cross -j2
267
+ - name : build
268
+ run : python3 -u build_release_files.py
269
+ working-directory : tools
270
+ env :
271
+ BOARDS : ${{ matrix.board }}
272
+
273
+ with :
274
+ name : ${{ matrix.board }}
275
+ path : bin/${{ matrix.board }}
276
+ - name : Upload to S3
277
+ run : " [ -z \" $AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/ s3://adafruit-circuit-python/bin/ --recursive --no-progress --region us-east-1"
278
+ env :
279
+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
280
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
281
+ if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
282
+
283
+ build-riscv :
284
+ runs-on : ubuntu-16.04
285
+ needs : test
286
+ strategy :
287
+ fail-fast : false
288
+ matrix :
289
+ board :
290
+ - " fomu"
291
+
292
+ steps :
293
+ - name : Set up Python 3.5
294
+ uses : actions/setup-python@v1
295
+ with :
296
+ python-version : 3.5
297
+ - name : Install deps
298
+ run : |
299
+ sudo apt-get install -y gettext
300
+ pip install requests sh click setuptools awscli
258
301
wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
259
302
sudo tar -C /usr --strip-components=1 -xaf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
260
303
- name : Versions
261
304
run : |
262
305
gcc --version
263
- arm-none-eabi-gcc --version
264
306
riscv64-unknown-elf-gcc --version
265
307
python3 --version
266
308
- uses : actions/checkout@v1
0 commit comments