Skip to content

Commit 7422a22

Browse files
committed
Use arm64 architecture for macos-latest
1 parent 28ffd6b commit 7422a22

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ jobs:
3333
- "3.10"
3434
- "3.11"
3535
- "3.12"
36+
exclude:
37+
- os: macos-latest
38+
py: "3.8"
3639

3740
steps:
3841
- name: Configure hostname
@@ -51,7 +54,7 @@ jobs:
5154
uses: actions/setup-python@v5
5255
with:
5356
python-version: ${{ matrix.py }}
54-
architecture: x64
57+
architecture: ${{ startsWith(matrix.os, 'macos-') && 'arm64' || 'x64' }}
5558

5659
- name: Install
5760
run: python -m pip install .[mpi,test,ai] pytest-cov
@@ -93,7 +96,7 @@ jobs:
9396
- macos-latest
9497
py:
9598
- "3.11"
96-
# - "3.12"
99+
- "3.12"
97100

98101
steps:
99102

@@ -104,7 +107,7 @@ jobs:
104107
uses: actions/setup-python@v5
105108
with:
106109
python-version: ${{ matrix.py }}
107-
architecture: x64
110+
architecture: ${{ startsWith(matrix.os, 'macos-') && 'arm64' || 'x64' }}
108111

109112
- name: Install
110113
run: python -m pip install .[test,ai]

0 commit comments

Comments
 (0)