@@ -326,16 +326,16 @@ jobs:
326
326
[ -z "$TWINE_USERNAME" ] || twine upload circuitpython-stubs/dist/*
327
327
328
328
329
- build-arm :
329
+ build-aarch :
330
330
runs-on : ubuntu-20.04
331
331
needs : test
332
- if : ${{ needs.test.outputs.boards-arm != '[]' }}
332
+ if : ${{ needs.test.outputs.boards-aarch != '[]' }}
333
333
env :
334
334
CP_VERSION : ${{ needs.test.outputs.cp-version }}
335
335
strategy :
336
336
fail-fast : false
337
337
matrix :
338
- board : ${{ fromJSON(needs.test.outputs.boards-arm ) }}
338
+ board : ${{ fromJSON(needs.test.outputs.boards-aarch ) }}
339
339
steps :
340
340
- name : Set up repository
341
341
uses : actions/checkout@v3
@@ -360,18 +360,31 @@ jobs:
360
360
- name : CircuitPython dependencies
361
361
id : cp-deps
362
362
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
363
369
- uses : carlosperate/arm-none-eabi-gcc-action@v1
364
370
with :
365
371
release : ' 10-2020-q4'
366
- - name : Install dependencies
372
+ - name : Install mkfs.fat
367
373
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)
370
381
- name : Versions
371
382
run : |
372
383
gcc --version
384
+ aarch64-none-elf-gcc --version
373
385
arm-none-eabi-gcc --version
374
386
python3 --version
387
+ mkfs.fat --version || true
375
388
- name : Build mpy-cross
376
389
if : ${{ steps.cp-deps.outputs.frozen_tags == 'True' }}
377
390
run : make -C mpy-cross -j2
@@ -395,16 +408,16 @@ jobs:
395
408
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'))
396
409
397
410
398
- build-riscv :
411
+ build-arm :
399
412
runs-on : ubuntu-20.04
400
413
needs : test
401
- if : ${{ needs.test.outputs.boards-riscv != '[]' }}
414
+ if : ${{ needs.test.outputs.boards-arm != '[]' }}
402
415
env :
403
416
CP_VERSION : ${{ needs.test.outputs.cp-version }}
404
417
strategy :
405
418
fail-fast : false
406
419
matrix :
407
- board : ${{ fromJSON(needs.test.outputs.boards-riscv ) }}
420
+ board : ${{ fromJSON(needs.test.outputs.boards-arm ) }}
408
421
steps :
409
422
- name : Set up repository
410
423
uses : actions/checkout@v3
@@ -429,16 +442,17 @@ jobs:
429
442
- name : CircuitPython dependencies
430
443
id : cp-deps
431
444
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'
432
448
- name : Install dependencies
433
449
run : |
434
450
sudo apt-get install -y gettext
435
451
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
438
452
- name : Versions
439
453
run : |
440
454
gcc --version
441
- riscv64-unknown-elf -gcc --version
455
+ arm-none-eabi -gcc --version
442
456
python3 --version
443
457
- name : Build mpy-cross
444
458
if : ${{ steps.cp-deps.outputs.frozen_tags == 'True' }}
@@ -568,16 +582,16 @@ jobs:
568
582
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'))
569
583
570
584
571
- build-aarch :
585
+ build-riscv :
572
586
runs-on : ubuntu-20.04
573
587
needs : test
574
- if : ${{ needs.test.outputs.boards-aarch != '[]' }}
588
+ if : ${{ needs.test.outputs.boards-riscv != '[]' }}
575
589
env :
576
590
CP_VERSION : ${{ needs.test.outputs.cp-version }}
577
591
strategy :
578
592
fail-fast : false
579
593
matrix :
580
- board : ${{ fromJSON(needs.test.outputs.boards-aarch ) }}
594
+ board : ${{ fromJSON(needs.test.outputs.boards-riscv ) }}
581
595
steps :
582
596
- name : Set up repository
583
597
uses : actions/checkout@v3
@@ -604,29 +618,15 @@ jobs:
604
618
run : python tools/ci_fetch_deps.py ${{ matrix.board }}
605
619
- name : Install dependencies
606
620
run : |
607
- sudo apt-get install -y gettext mtools
621
+ sudo apt-get install -y gettext
608
622
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
623
625
- name : Versions
624
626
run : |
625
627
gcc --version
626
- aarch64-none-elf-gcc --version
627
- arm-none-eabi-gcc --version
628
+ riscv64-unknown-elf-gcc --version
628
629
python3 --version
629
- mkfs.fat --version || true
630
630
- name : Build mpy-cross
631
631
if : ${{ steps.cp-deps.outputs.frozen_tags == 'True' }}
632
632
run : make -C mpy-cross -j2
0 commit comments