@@ -326,16 +326,16 @@ jobs:
326326 [ -z "$TWINE_USERNAME" ] || twine upload circuitpython-stubs/dist/*
327327
328328
329- build-arm :
329+ build-aarch :
330330 runs-on : ubuntu-20.04
331331 needs : test
332- if : ${{ needs.test.outputs.boards-arm != '[]' }}
332+ if : ${{ needs.test.outputs.boards-aarch != '[]' }}
333333 env :
334334 CP_VERSION : ${{ needs.test.outputs.cp-version }}
335335 strategy :
336336 fail-fast : false
337337 matrix :
338- board : ${{ fromJSON(needs.test.outputs.boards-arm ) }}
338+ board : ${{ fromJSON(needs.test.outputs.boards-aarch ) }}
339339 steps :
340340 - name : Set up repository
341341 uses : actions/checkout@v3
@@ -360,18 +360,31 @@ jobs:
360360 - name : CircuitPython dependencies
361361 id : cp-deps
362362 run : python tools/ci_fetch_deps.py ${{ matrix.board }}
363+ - name : Install dependencies
364+ run : |
365+ sudo apt-get install -y gettext mtools
366+ pip install -r requirements-ci.txt -r requirements-dev.txt
367+ wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
368+ sudo tar -C /usr --strip-components=1 -xaf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
363369 - uses : carlosperate/arm-none-eabi-gcc-action@v1
364370 with :
365371 release : ' 10-2020-q4'
366- - name : Install dependencies
372+ - name : Install mkfs.fat
367373 run : |
368- sudo apt-get install -y gettext
369- pip install -r requirements-ci.txt -r requirements-dev.txt
374+ wget https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz
375+ tar -xaf dosfstools-4.2.tar.gz
376+ cd dosfstools-4.2
377+ ./configure
378+ make -j 2
379+ cd src
380+ echo >>$GITHUB_PATH $(pwd)
370381 - name : Versions
371382 run : |
372383 gcc --version
384+ aarch64-none-elf-gcc --version
373385 arm-none-eabi-gcc --version
374386 python3 --version
387+ mkfs.fat --version || true
375388 - name : Build mpy-cross
376389 if : ${{ steps.cp-deps.outputs.frozen_tags == 'True' }}
377390 run : make -C mpy-cross -j2
@@ -395,16 +408,16 @@ jobs:
395408 if : (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
396409
397410
398- build-riscv :
411+ build-arm :
399412 runs-on : ubuntu-20.04
400413 needs : test
401- if : ${{ needs.test.outputs.boards-riscv != '[]' }}
414+ if : ${{ needs.test.outputs.boards-arm != '[]' }}
402415 env :
403416 CP_VERSION : ${{ needs.test.outputs.cp-version }}
404417 strategy :
405418 fail-fast : false
406419 matrix :
407- board : ${{ fromJSON(needs.test.outputs.boards-riscv ) }}
420+ board : ${{ fromJSON(needs.test.outputs.boards-arm ) }}
408421 steps :
409422 - name : Set up repository
410423 uses : actions/checkout@v3
@@ -429,16 +442,17 @@ jobs:
429442 - name : CircuitPython dependencies
430443 id : cp-deps
431444 run : python tools/ci_fetch_deps.py ${{ matrix.board }}
445+ - uses : carlosperate/arm-none-eabi-gcc-action@v1
446+ with :
447+ release : ' 10-2020-q4'
432448 - name : Install dependencies
433449 run : |
434450 sudo apt-get install -y gettext
435451 pip install -r requirements-ci.txt -r requirements-dev.txt
436- wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
437- sudo tar -C /usr --strip-components=1 -xaf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
438452 - name : Versions
439453 run : |
440454 gcc --version
441- riscv64-unknown-elf -gcc --version
455+ arm-none-eabi -gcc --version
442456 python3 --version
443457 - name : Build mpy-cross
444458 if : ${{ steps.cp-deps.outputs.frozen_tags == 'True' }}
@@ -568,16 +582,16 @@ jobs:
568582 if : (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
569583
570584
571- build-aarch :
585+ build-riscv :
572586 runs-on : ubuntu-20.04
573587 needs : test
574- if : ${{ needs.test.outputs.boards-aarch != '[]' }}
588+ if : ${{ needs.test.outputs.boards-riscv != '[]' }}
575589 env :
576590 CP_VERSION : ${{ needs.test.outputs.cp-version }}
577591 strategy :
578592 fail-fast : false
579593 matrix :
580- board : ${{ fromJSON(needs.test.outputs.boards-aarch ) }}
594+ board : ${{ fromJSON(needs.test.outputs.boards-riscv ) }}
581595 steps :
582596 - name : Set up repository
583597 uses : actions/checkout@v3
@@ -604,29 +618,15 @@ jobs:
604618 run : python tools/ci_fetch_deps.py ${{ matrix.board }}
605619 - name : Install dependencies
606620 run : |
607- sudo apt-get install -y gettext mtools
621+ sudo apt-get install -y gettext
608622 pip install -r requirements-ci.txt -r requirements-dev.txt
609- wget --no-verbose https://adafruit-circuit-python.s3.amazonaws.com/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
610- sudo tar -C /usr --strip-components=1 -xaf gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf.tar.xz
611- - uses : carlosperate/arm-none-eabi-gcc-action@v1
612- with :
613- release : ' 10-2020-q4'
614- - name : Install mkfs.fat
615- run : |
616- wget https://github.com/dosfstools/dosfstools/releases/download/v4.2/dosfstools-4.2.tar.gz
617- tar -xaf dosfstools-4.2.tar.gz
618- cd dosfstools-4.2
619- ./configure
620- make -j 2
621- cd src
622- echo >>$GITHUB_PATH $(pwd)
623+ wget https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
624+ sudo tar -C /usr --strip-components=1 -xaf riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-centos6.tar.gz
623625 - name : Versions
624626 run : |
625627 gcc --version
626- aarch64-none-elf-gcc --version
627- arm-none-eabi-gcc --version
628+ riscv64-unknown-elf-gcc --version
628629 python3 --version
629- mkfs.fat --version || true
630630 - name : Build mpy-cross
631631 if : ${{ steps.cp-deps.outputs.frozen_tags == 'True' }}
632632 run : make -C mpy-cross -j2
0 commit comments