Skip to content

Commit 0305cbc

Browse files
committed
fix: Specify runner target as macos arm64
1 parent 6a398d9 commit 0305cbc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test_basic.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
examples_dry_run:
99
name: Dry Run (${{ matrix.target }})
10-
runs-on: self-hosted
10+
runs-on: [self-hosted, macOS, ARM64]
1111
strategy:
1212
matrix:
1313
target:
@@ -26,47 +26,47 @@ jobs:
2626
run: |
2727
python3 example.py --dry-run --only-target=${{ matrix.target }}
2828
tutorial:
29-
runs-on: self-hosted
29+
runs-on: [self-hosted, macOS, ARM64]
3030
steps:
3131
- uses: actions/checkout@v3
3232
- uses: ./.github/actions/setup-macos
3333
- name: Run tutorial
3434
run: |
3535
(cd tutorial && ./tutorial_all.sh)
3636
examples_basic:
37-
runs-on: self-hosted
37+
runs-on: [self-hosted, macOS, ARM64]
3838
steps:
3939
- uses: actions/checkout@v3
4040
- uses: ./.github/actions/setup-macos
4141
- name: Run examples
4242
run: |
4343
python3 example.py --examples simple0,simple1,simple0_loop,simple1_loop
4444
examples_ntt_kyber_dilithium_helium_core:
45-
runs-on: self-hosted
45+
runs-on: [self-hosted, macOS, ARM64]
4646
steps:
4747
- uses: actions/checkout@v3
4848
- uses: ./.github/actions/setup-macos
4949
- name: Run examples
5050
run: |
5151
python3 example.py --examples ntt_kyber_1_23_45_67_m55,ntt_dilithium_12_34_56_78_m55 --timeout=300
5252
examples_ntt_kyber_dilithium_neon_core:
53-
runs-on: self-hosted
53+
runs-on: [self-hosted, macOS, ARM64]
5454
steps:
5555
- uses: actions/checkout@v3
5656
- uses: ./.github/actions/setup-macos
5757
- name: Run examples
5858
run: |
5959
python3 example.py --examples ntt_kyber_123_4567_a55,ntt_dilithium_123_45678_a55 --timeout=300
6060
sqmag:
61-
runs-on: self-hosted
61+
runs-on: [self-hosted, macOS, ARM64]
6262
steps:
6363
- uses: actions/checkout@v3
6464
- uses: ./.github/actions/setup-macos
6565
- name: Run examples
6666
run: |
6767
(cd paper/scripts && NO_LOG=Y ./slothy_sqmag.sh)
6868
fft:
69-
runs-on: self-hosted
69+
runs-on: [self-hosted, macOS, ARM64]
7070
steps:
7171
- uses: actions/checkout@v3
7272
- uses: ./.github/actions/setup-macos

0 commit comments

Comments
 (0)