Skip to content
Open
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
9 changes: 6 additions & 3 deletions .github/workflows/python-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,19 @@ jobs:
target: aarch64-unknown-linux-musl
manylinux: musllinux_1_2
# macOS
- runner: macos-14
- runner: macos-15-intel
target: x86_64-apple-darwin
manylinux: off
- runner: macos-14
- runner: macos-15
target: aarch64-apple-darwin
manylinux: off
# Windows
- runner: windows-latest
target: x86_64-pc-windows-msvc
manylinux: off
- runner: windows-11-arm
target: aarch64-pc-windows-msvc
manylinux: off
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -115,7 +118,7 @@ jobs:
"$PYBIN" -c "import datefinder, datefinder._kernel; from datetime import datetime, timezone; out=list(datefinder.find_dates(\"tomorrow and 2024-12-10\", base_date=datetime(2026, 3, 18, tzinfo=timezone.utc))); assert len(out) >= 2; print(\"linux target smoke ok\", len(out))"
'
- name: Wheel runtime smoke (macOS/Windows native)
if: ${{ !startsWith(matrix.runner, 'ubuntu') && !(startsWith(matrix.runner, 'macos') && matrix.target == 'x86_64-apple-darwin') }}
if: ${{ !startsWith(matrix.runner, 'ubuntu') }}
shell: bash
run: |
python -m pip install --upgrade pip
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/release-candidate-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,18 @@ jobs:
- runner: ubuntu-latest
target: aarch64-unknown-linux-musl
manylinux: musllinux_1_2
- runner: macos-13
- runner: macos-15-intel
target: x86_64-apple-darwin
manylinux: off
- runner: macos-14
- runner: macos-15
target: aarch64-apple-darwin
manylinux: off
- runner: windows-latest
target: x86_64-pc-windows-msvc
manylinux: off
- runner: windows-11-arm
target: aarch64-pc-windows-msvc
manylinux: off
steps:
- uses: actions/checkout@v4
- name: Set up Python
Expand All @@ -137,7 +140,7 @@ jobs:
args: --release --out dist --manifest-path rust/datefinder-kernel/Cargo.toml
rust-toolchain: stable
- name: Install wheel inspection tools (Linux)
if: ${{ startsWith(matrix.runner, 'ubuntu') }}
if: ${{ contains(matrix.target, 'linux-gnu') }}
run: python -m pip install --upgrade pip auditwheel
- name: Install wheel inspection tools (macOS)
if: ${{ startsWith(matrix.runner, 'macos') }}
Expand All @@ -146,7 +149,8 @@ jobs:
if: ${{ startsWith(matrix.runner, 'windows') }}
run: python -m pip install --upgrade pip delvewheel
- name: Inspect wheel dependencies (Linux)
if: ${{ startsWith(matrix.runner, 'ubuntu') }}
# auditwheel on a glibc host can't resolve musl's libc.so
if: ${{ contains(matrix.target, 'linux-gnu') }}
run: auditwheel show dist/*.whl
- name: Inspect wheel dependencies (macOS)
if: ${{ startsWith(matrix.runner, 'macos') }}
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ deactivate
- manylinux2014: `x86_64-unknown-linux-gnu`, `aarch64-unknown-linux-gnu`
- musllinux_1_2: `x86_64-unknown-linux-musl`, `aarch64-unknown-linux-musl`
- macOS: `x86_64-apple-darwin`, `aarch64-apple-darwin`
- Windows: `x86_64-pc-windows-msvc`
- Windows: `x86_64-pc-windows-msvc`, `aarch64-pc-windows-msvc`
- artifact inspection + smoke checks:
- Linux: `auditwheel show`
- macOS: `delocate-listdeps`
Expand Down