Skip to content

Commit 48921d3

Browse files
authored
Update macOS GHA runner to aarch64 (#724)
1 parent 5bc980a commit 48921d3

File tree

1 file changed

+31
-17
lines changed

1 file changed

+31
-17
lines changed

.github/workflows/CI.yml

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,53 @@ permissions:
1919

2020
jobs:
2121
test:
22-
runs-on: ${{ matrix.os }}
22+
runs-on: ${{ matrix.runner.os }}
2323
strategy:
2424
matrix:
25-
version:
26-
- 'min' # minimum supported version
27-
- '1' # current stable version
28-
os:
29-
- ubuntu-latest
30-
arch:
31-
- x64
32-
num_threads:
33-
- 1
34-
- 2
35-
include:
25+
runner:
26+
# Current stable version
27+
- version: '1'
28+
os: ubuntu-latest
29+
arch: x64
30+
num_threads: 2
31+
# Minimum supported version
32+
- version: 'min'
33+
os: ubuntu-latest
34+
arch: x64
35+
num_threads: 2
36+
# Single-threaded
37+
- version: '1'
38+
os: ubuntu-latest
39+
arch: x64
40+
num_threads: 1
41+
# Minimum supported version, single-threaded
42+
- version: 'min'
43+
os: ubuntu-latest
44+
arch: x64
45+
num_threads: 1
46+
# x86
3647
- version: '1'
3748
os: ubuntu-latest
3849
arch: x86
3950
num_threads: 2
51+
# Windows
4052
- version: '1'
4153
os: windows-latest
4254
arch: x64
4355
num_threads: 2
56+
# macOS
4457
- version: '1'
45-
os: macOS-latest
46-
arch: x64
58+
os: macos-latest
59+
arch: aarch64
4760
num_threads: 2
61+
4862
steps:
4963
- uses: actions/checkout@v4
5064

5165
- uses: julia-actions/setup-julia@v2
5266
with:
53-
version: ${{ matrix.version }}
54-
arch: ${{ matrix.arch }}
67+
version: ${{ matrix.runner.version }}
68+
arch: ${{ matrix.runner.arch }}
5569

5670
- uses: julia-actions/cache@v2
5771

@@ -60,7 +74,7 @@ jobs:
6074
- uses: julia-actions/julia-runtest@v1
6175
env:
6276
GROUP: All
63-
JULIA_NUM_THREADS: ${{ matrix.num_threads }}
77+
JULIA_NUM_THREADS: ${{ matrix.runner.num_threads }}
6478

6579
- uses: julia-actions/julia-processcoverage@v1
6680

0 commit comments

Comments
 (0)