Skip to content

Commit 447144f

Browse files
authored
CI: run macos tests on native ARM if appropriate (#156)
1 parent 8fcd233 commit 447144f

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,23 @@ jobs:
3232
- 'nightly'
3333
os:
3434
- ubuntu-latest
35-
- macOS-latest
35+
- macos-latest
3636
- windows-latest
3737
arch:
38-
- x64
38+
- ''
39+
exclude:
40+
- os: macos-latest # Apple Silicon
41+
version: '1.0'
42+
arch: ''
43+
- os: macos-latest # Apple Silicon
44+
version: '1.6'
45+
arch: ''
3946
steps:
4047
- uses: actions/checkout@v4
4148
- uses: julia-actions/setup-julia@v2
4249
with:
4350
version: ${{ matrix.version }}
44-
arch: ${{ matrix.arch }}
51+
arch: ${{ (matrix.arch == '') && runner.arch || matrix.arch }}
4552
- uses: julia-actions/cache@v2
4653
- uses: julia-actions/julia-buildpkg@v1
4754
- uses: julia-actions/julia-runtest@v1

0 commit comments

Comments
 (0)