@@ -518,7 +518,7 @@ jobs:
518
518
# This is ci/actions-templates/linux-builds-template.yaml
519
519
# Do not edit this file in .github/workflows
520
520
build-linux-pr : # job-name skip-master skip-stable
521
- runs-on : ubuntu-latest
521
+ runs-on : ${{ matrix.os || ' ubuntu-latest' }}
522
522
if : ${{ contains('["pull_request", "merge_group"]', github.event_name) }} # skip-master skip-stable
523
523
permissions :
524
524
id-token : write
@@ -537,6 +537,9 @@ jobs:
537
537
- target : x86_64-unknown-linux-gnu
538
538
run_tests : YES
539
539
# snap_arch: amd64
540
+ # We add an ARM-based host to the following target.
541
+ # We need to do that because rust's CI uses ARM-based runners
542
+ # to generate their Dockerfiles.
540
543
- target : armv7-unknown-linux-gnueabihf
541
544
# snap_arch: armhf
542
545
steps :
@@ -678,7 +681,7 @@ jobs:
678
681
# This is ci/actions-templates/linux-builds-template.yaml
679
682
# Do not edit this file in .github/workflows
680
683
build-linux-master : # job-name skip-pr skip-stable
681
- runs-on : ubuntu-latest
684
+ runs-on : ${{ matrix.os || ' ubuntu-latest' }}
682
685
if : ${{ (github.event_name == 'push' && github.ref_name == 'master') || github.event_name == 'schedule' }} # skip-pr skip-stable
683
686
permissions :
684
687
id-token : write
@@ -700,8 +703,11 @@ jobs:
700
703
- target : x86_64-unknown-linux-gnu
701
704
run_tests : YES
702
705
# snap_arch: amd64
703
- - target : aarch64-unknown-linux-gnu # skip-pr
704
- # snap_arch: arm64 # skip-pr
706
+ # We add an ARM-based host to the following target.
707
+ # We need to do that because rust's CI uses ARM-based runners
708
+ # to generate their Dockerfiles.
709
+ - target : aarch64-unknown-linux-gnu # skip-pr
710
+ os : ubuntu-24.04-arm64-4core-16gb # skip-pr
705
711
- target : armv7-unknown-linux-gnueabihf
706
712
# snap_arch: armhf
707
713
steps :
@@ -843,7 +849,7 @@ jobs:
843
849
# This is ci/actions-templates/linux-builds-template.yaml
844
850
# Do not edit this file in .github/workflows
845
851
build-linux-stable : # job-name skip-master skip-pr
846
- runs-on : ubuntu-latest
852
+ runs-on : ${{ matrix.os || ' ubuntu-latest' }}
847
853
if : ${{ github.event_name == 'push' && github.ref_name == 'stable' }} # skip-pr skip-master
848
854
permissions :
849
855
id-token : write
@@ -883,8 +889,11 @@ jobs:
883
889
# snap_arch: amd64
884
890
- target : i686-unknown-linux-gnu # skip-pr skip-master
885
891
# snap_arch: i386 # skip-pr skip-master
886
- - target : aarch64-unknown-linux-gnu # skip-pr
887
- # snap_arch: arm64 # skip-pr
892
+ # We add an ARM-based host to the following target.
893
+ # We need to do that because rust's CI uses ARM-based runners
894
+ # to generate their Dockerfiles.
895
+ - target : aarch64-unknown-linux-gnu # skip-pr
896
+ os : ubuntu-24.04-arm64-4core-16gb # skip-pr
888
897
- target : armv7-unknown-linux-gnueabihf
889
898
# snap_arch: armhf
890
899
- target : powerpc64le-unknown-linux-gnu # skip-pr skip-master
0 commit comments