CI workflow
This commit is contained in:
@@ -75,9 +75,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Install osxcross
|
- name: Install osxcross
|
||||||
run: |
|
run: |
|
||||||
|
export PATH="${{ runner.temp }}/osxcross/bin${PATH:+:${PATH}}"
|
||||||
if ! command -v osxcross >/dev/null 2>&1; then
|
if ! command -v osxcross >/dev/null 2>&1; then
|
||||||
wget https://nextcloud.wimpomp.nl/s/DcrTwoP3SeY7DQF/download -O osxcross.tar.gz
|
wget https://nextcloud.wimpomp.nl/s/DcrTwoP3SeY7DQF/download -O osxcross.tar.gz
|
||||||
tar -xzvf osxcross.tar.gz -C ${{ runner.temp }}/
|
tar -xzf osxcross.tar.gz -C ${{ runner.temp }}/
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
@@ -89,10 +90,18 @@ jobs:
|
|||||||
rustup default nightly
|
rustup default nightly
|
||||||
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
|
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
|
||||||
maturin build --release --out dist --target x86_64-unknown-linux-gnu
|
maturin build --release --out dist --target x86_64-unknown-linux-gnu
|
||||||
|
rustup target add aarch64-unknown-linux-gnu --toolchain nightly
|
||||||
|
maturin build --release --out dist --target aarch64-unknown-linux-gnu --zig
|
||||||
|
|
||||||
rustup target add x86_64-pc-windows-msvc --toolchain nightly
|
rustup target add x86_64-pc-windows-msvc --toolchain nightly
|
||||||
maturin build --release --out dist --target x86_64-pc-windows-msvc
|
maturin build --release --out dist --target x86_64-pc-windows-msvc
|
||||||
|
rustup target add aarch64-pc-windows-msvc --toolchain nightly
|
||||||
|
maturin build --release --out dist --target aarch64-pc-windows-msvc
|
||||||
|
|
||||||
rustup target add x86_64-apple-darwin --toolchain nightly
|
rustup target add x86_64-apple-darwin --toolchain nightly
|
||||||
maturin build --release --target x86_64-apple-darwin --out dist --zig
|
maturin build --release --out dist --target x86_64-apple-darwin --zig
|
||||||
|
rustup target add aarch64-apple-darwin --toolchain nightly
|
||||||
|
maturin build --release --out dist --target aarch64-apple-darwin --zig
|
||||||
|
|
||||||
- name: Upload wheels
|
- name: Upload wheels
|
||||||
uses: actions/upload-artifact@v3.2.2
|
uses: actions/upload-artifact@v3.2.2
|
||||||
|
|||||||
Reference in New Issue
Block a user