CI workflow
CI / wheels (push) Successful in 5m10s
CI / Release (push) Has been skipped

This commit is contained in:
w.pomp
2026-04-17 14:27:05 +02:00
parent 696929edba
commit 802d045c20
+16 -2
View File
@@ -21,8 +21,8 @@ jobs:
with:
python-version: 3.x
- name: Setup caching
uses: actions/cache@v4
- name: Restore cache
uses: actions/cache/restore@v4
with:
path: |
/var/cache/apt
@@ -85,6 +85,7 @@ jobs:
export PATH="$HOME/.cargo/bin:$HOME/.osxcross/bin:$PATH"
maturin sdist --out dist
rustup default nightly
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
maturin build --release --out dist --target x86_64-unknown-linux-gnu
rustup target add aarch64-unknown-linux-gnu --toolchain nightly
@@ -100,6 +101,19 @@ jobs:
rustup target add aarch64-apple-darwin --toolchain nightly
maturin build --release --out dist --target aarch64-apple-darwin --zig
- name: Store cache
uses: actions/cache/save@v4
with:
path: |
/var/cache/apt
~/.cache/pip
~/.cache/pip-wheel
~/.cache/sccache
~/.cache/cargo-xwin
~/.cargo
~/.osxcross
key: cache-ubuntu-maturin-cross-compile
- name: Upload wheels
uses: actions/upload-artifact@v3.2.2
with: