Skip to content

Commit 7b2ce5e

Browse files
authored
Run macOS CI on intel based runners + pin max clang version (#528)
1 parent 7ebe69a commit 7b2ce5e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/ci-osx.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: OSX CI
1+
name: macOS CI
22

33
on: [push, pull_request]
44

@@ -8,7 +8,7 @@ concurrency:
88

99
jobs:
1010
build:
11-
runs-on: macos-latest
11+
runs-on: macos-12
1212
strategy:
1313
fail-fast: false
1414
matrix:
@@ -38,7 +38,7 @@ jobs:
3838
shell: "bash -l {0}"
3939
run: >
4040
conda create -n env
41-
c-compiler cxx-compiler 'clang>=12.0.1'
41+
c-compiler cxx-compiler 'clang>=12.0.1,<17'
4242
python=${{matrix.python-version}} wheel pip
4343
4444
- name: Show info about `env` environment

.github/workflows/wheel.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [ubuntu-latest, windows-latest, macos-latest]
16+
os: [ubuntu-latest, windows-latest, macos-12]
1717
env:
1818
CIBW_TEST_COMMAND: python -c "import numcodecs"
1919
CIBW_SKIP: "pp* cp36-* *-musllinux_* *win32 *_i686 *_s390x"
2020
CIBW_ARCHS_MACOS: 'x86_64 arm64'
2121
CIBW_TEST_SKIP: '*-macosx_arm64'
2222
# note: CIBW_ENVIRONMENT is now set in pyproject.toml
23-
23+
2424
steps:
2525
- uses: actions/checkout@v4
2626
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ A Python package providing buffer compression and transformation codecs \
1414
for use in data storage and communication applications."""
1515
readme = "README.rst"
1616
dependencies = [
17-
"numpy>=1.7",
17+
"numpy>=1.7,<2",
1818
]
1919
requires-python = ">=3.8"
2020
dynamic = [

0 commit comments

Comments
 (0)