Skip to content

Commit

Permalink
Run macOS CI on intel based runners + pin max clang version (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby authored Jun 19, 2024
1 parent 7ebe69a commit 7b2ce5e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-osx.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: OSX CI
name: macOS CI

on: [push, pull_request]

Expand All @@ -8,7 +8,7 @@ concurrency:

jobs:
build:
runs-on: macos-latest
runs-on: macos-12
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
shell: "bash -l {0}"
run: >
conda create -n env
c-compiler cxx-compiler 'clang>=12.0.1'
c-compiler cxx-compiler 'clang>=12.0.1,<17'
python=${{matrix.python-version}} wheel pip
- name: Show info about `env` environment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-12]
env:
CIBW_TEST_COMMAND: python -c "import numcodecs"
CIBW_SKIP: "pp* cp36-* *-musllinux_* *win32 *_i686 *_s390x"
CIBW_ARCHS_MACOS: 'x86_64 arm64'
CIBW_TEST_SKIP: '*-macosx_arm64'
# note: CIBW_ENVIRONMENT is now set in pyproject.toml

steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ A Python package providing buffer compression and transformation codecs \
for use in data storage and communication applications."""
readme = "README.rst"
dependencies = [
"numpy>=1.7",
"numpy>=1.7,<2",
]
requires-python = ">=3.8"
dynamic = [
Expand Down

0 comments on commit 7b2ce5e

Please sign in to comment.