Skip to content

Commit 3e99b0f

Browse files
committed
ci: reformatted yml, updated windows-2019 to windows-2022, bumped MACOSX_DEPLOYMENT_TARGET
1 parent 9943652 commit 3e99b0f

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/workflows/build.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
runs-on: macos-latest
9595
env:
9696
LLVM_VERSION: "14.0.5"
97-
MACOSX_DEPLOYMENT_TARGET: "10.9"
97+
MACOSX_DEPLOYMENT_TARGET: "10.15"
9898
strategy:
9999
matrix:
100100
include:
@@ -126,8 +126,7 @@ jobs:
126126

127127
- name: Install OS dependencies
128128
if: steps.cache-c-core.outputs.cache-hit != 'true' || steps.cache-c-deps.outputs.cache-hit != 'true' # Only needed when building the C core or libomp
129-
run:
130-
brew install ninja autoconf automake libtool
129+
run: brew install ninja autoconf automake libtool
131130

132131
- name: Install OpenMP library
133132
if: steps.cache-c-deps.outputs.cache-hit != 'true'
@@ -167,16 +166,15 @@ jobs:
167166
- uses: actions/setup-python@v5
168167
name: Install Python
169168
with:
170-
python-version: '3.12.1'
169+
python-version: "3.12.1"
171170

172171
- name: Install OS dependencies
173-
run:
174-
sudo apt install ninja-build cmake flex bison
172+
run: sudo apt install ninja-build cmake flex bison
175173

176174
- uses: mymindstorm/setup-emsdk@v14
177175
with:
178-
version: '3.1.58'
179-
actions-cache-folder: 'emsdk-cache'
176+
version: "3.1.58"
177+
actions-cache-folder: "emsdk-cache"
180178

181179
- name: Build wheel
182180
run: |
@@ -204,12 +202,12 @@ jobs:
204202
- cmake_arch: Win32
205203
wheel_arch: win32
206204
vcpkg_arch: x86
207-
os: windows-2019
205+
os: windows-2022
208206
test_extra: test
209207
- cmake_arch: x64
210208
wheel_arch: win_amd64
211209
vcpkg_arch: x64
212-
os: windows-2019
210+
os: windows-2022
213211
test_extra: test
214212
- cmake_arch: ARM64
215213
wheel_arch: win_arm64
@@ -253,7 +251,7 @@ jobs:
253251
CIBW_BEFORE_BUILD: "pip install -U setuptools && python setup.py build_c_core"
254252
CIBW_BUILD: "*-${{ matrix.wheel_arch }}"
255253
CIBW_ENABLE: pypy
256-
CIBW_TEST_COMMAND: "cd /d {project} && pip install --prefer-binary \".[${{ matrix.test_extra }}]\" && python -m pytest tests"
254+
CIBW_TEST_COMMAND: 'cd /d {project} && pip install --prefer-binary ".[${{ matrix.test_extra }}]" && python -m pytest tests'
257255
# Skip tests for Python 3.10 onwards because SciPy does not have
258256
# 32-bit wheels for Windows any more
259257
CIBW_TEST_SKIP: "cp310-win32 cp311-win32 cp312-win32 cp313-win32"
@@ -287,13 +285,12 @@ jobs:
287285

288286
- name: Install OS dependencies
289287
if: steps.cache-c-core.outputs.cache-hit != 'true' # Only needed when building the C core
290-
run:
291-
sudo apt install ninja-build cmake flex bison
288+
run: sudo apt install ninja-build cmake flex bison
292289

293290
- uses: actions/setup-python@v5
294291
name: Install Python
295292
with:
296-
python-version: '3.9'
293+
python-version: "3.9"
297294

298295
- name: Build sdist
299296
run: |
@@ -335,13 +332,12 @@ jobs:
335332

336333
- name: Install OS dependencies
337334
if: steps.cache-c-core.outputs.cache-hit != 'true' # Only needed when building the C core
338-
run:
339-
sudo apt install ninja-build cmake flex bison
335+
run: sudo apt install ninja-build cmake flex bison
340336

341337
- uses: actions/setup-python@v5
342338
name: Install Python
343339
with:
344-
python-version: '3.12'
340+
python-version: "3.12"
345341

346342
- name: Install test dependencies
347343
run: |

0 commit comments

Comments
 (0)