@@ -16,15 +16,15 @@ jobs:
1616 env :
1717 GITHUB_CONTEXT : ${{ toJson(github) }}
1818 run : echo "$GITHUB_CONTEXT"
19- - name : Set up Python 3.5
19+ - name : Set up Python 3.8
2020 uses : actions/setup-python@v1
2121 with :
22- python-version : 3.5
22+ python-version : 3.8
2323 - name : Install deps
2424 run : |
2525 sudo apt-get install -y eatmydata
2626 sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64
27- pip install requests sh click setuptools cpp-coveralls Sphinx sphinx-rtd-theme recommonmark sphinxcontrib-svg2pdfconverter polib pyyaml
27+ pip install requests sh click setuptools cpp-coveralls " Sphinx<3" sphinx-rtd-theme recommonmark sphinxcontrib-svg2pdfconverter polib pyyaml
2828 - name : Versions
2929 run : |
3030 gcc --version
4242 make -C ports/unix -j2
4343 make -C ports/unix coverage -j2
4444 - name : Test all
45- run : MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
45+ run : MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1
4646 working-directory : tests
4747 - name : Print failure info
4848 run : |
@@ -54,10 +54,10 @@ jobs:
5454 working-directory : tests
5555 if : failure()
5656 - name : Native Tests
57- run : MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native
57+ run : MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --emit native
5858 working-directory : tests
5959 - name : mpy Tests
60- run : MICROPY_CPYTHON3=python3.5 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
60+ run : MICROPY_CPYTHON3=python3.8 MICROPY_MICROPYTHON=../ports/unix/micropython_coverage ./run-tests -j1 --via-mpy -d basics float
6161 working-directory : tests
6262 - name : Docs
6363 run : sphinx-build -E -W -b html . _build/html
@@ -122,6 +122,7 @@ jobs:
122122 fail-fast : false
123123 matrix :
124124 board :
125+ - " 8086_commander"
125126 - " TG-Watch02A"
126127 - " aramcon_badge_2019"
127128 - " arduino_mkr1300"
@@ -130,6 +131,7 @@ jobs:
130131 - " arduino_nano_33_iot"
131132 - " arduino_zero"
132133 - " bast_pro_mini_m0"
134+ - " bdmicro_vina_m0"
133135 - " capablerobot_usbhub"
134136 - " catwan_usbstick"
135137 - " circuitbrains_basic_m0"
@@ -230,9 +232,11 @@ jobs:
230232 - " stringcar_m0_express"
231233 - " teensy40"
232234 - " teknikio_bluebird"
235+ - " thunderpack"
233236 - " trellis_m4_express"
234237 - " trinket_m0"
235238 - " trinket_m0_haxpress"
239+ - " uartlogger2"
236240 - " uchip"
237241 - " ugame10"
238242 - " winterbloom_big_honking_button"
@@ -241,10 +245,10 @@ jobs:
241245 - " xinabox_cs11"
242246
243247 steps :
244- - name : Set up Python 3.5
248+ - name : Set up Python 3.8
245249 uses : actions/setup-python@v1
246250 with :
247- python-version : 3.5
251+ python-version : 3.8
248252 - name : Install deps
249253 run : |
250254 sudo apt-get install -y gettext
@@ -275,4 +279,50 @@ jobs:
275279 env :
276280 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
277281 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
278- if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
282+ if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
283+
284+ build-riscv :
285+ runs-on : ubuntu-16.04
286+ needs : test
287+ strategy :
288+ fail-fast : false
289+ matrix :
290+ board :
291+ - " fomu"
292+
293+ steps :
294+ - name : Set up Python 3.8
295+ uses : actions/setup-python@v1
296+ with :
297+ python-version : 3.8
298+ - name : Install deps
299+ run : |
300+ sudo apt-get install -y gettext
301+ pip install requests sh click setuptools awscli
302+ wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
303+ sudo tar -C /usr --strip-components=1 -xaf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
304+ - name : Versions
305+ run : |
306+ gcc --version
307+ riscv64-unknown-elf-gcc --version
308+ python3 --version
309+ - uses : actions/checkout@v1
310+ with :
311+ submodules : true
312+ - name : mpy-cross
313+ run : make -C mpy-cross -j2
314+ - name : build
315+ run : python3 -u build_release_files.py
316+ working-directory : tools
317+ env :
318+ BOARDS : ${{ matrix.board }}
319+ - uses : actions/upload-artifact@v1.0.0
320+ with :
321+ name : ${{ matrix.board }}
322+ path : bin/${{ matrix.board }}
323+ - name : Upload to S3
324+ run : " [ -z \" $AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/ s3://adafruit-circuit-python/bin/ --recursive --no-progress --region us-east-1"
325+ env :
326+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
327+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
328+ if : github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
0 commit comments