Skip to content

Commit affc46a

Browse files
Merge pull request #265 from neutrinoceros/whl/native-macos-intel
2 parents cb05111 + b42e8d0 commit affc46a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/cd.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,8 @@ jobs:
7373
uv pip install .
7474
uv run --no-project pytest --color=yes -ra
7575
76-
# adapted from
77-
# https://github.com/messense/crfs-rs/blob/main/.github/workflows/Python.yml
7876
macos-intel:
79-
# cross-compiling: no testing
80-
runs-on: macos-latest
77+
runs-on: macos-15-intel
8178
steps:
8279
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8380
with:
@@ -98,6 +95,12 @@ jobs:
9895
with:
9996
target: x86_64
10097
args: --release --out dist --no-default-features -F fma
98+
- name: Test wheel
99+
run: |
100+
uv sync --only-group test
101+
uv pip install numpy
102+
uv pip install rlic --no-index --find-links dist --no-deps
103+
uv run --no-sync pytest --color=yes
101104
- name: Upload wheels
102105
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
103106
with:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
build configurations. These bugs were introduced in version 0.5.2
1212
- WHL: re-enable fma on manylinux x86_64 wheels, and disable branchless execution,
1313
bringing this build's configuration in line with the equivalent macos target
14+
- WHL: build macos-x86_64 wheels natively again, and ensure they are tested
1415

1516
## 0.5.2 - 2025-11-14
1617

0 commit comments

Comments
 (0)