Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run macOS CI on intel based runners + pin max clang version #528

Merged
merged 6 commits into from
Jun 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading