CI workflow
CI / linux (map[runner:ubuntu-latest target:x86_64-unknown-linux-gnu]) (push) Failing after 52s
CI / Release (push) Has been skipped

This commit is contained in:
w.pomp
2026-04-16 19:11:53 +02:00
parent b77df5677e
commit 3be51cb17e
+7 -8
View File
@@ -51,36 +51,35 @@ jobs:
set -e
export RUSTUP_HOME="${{ runner.temp }}/rustup"
export CARGO_HOME="${{ runner.temp }}/cargo"
export PATH="$CARGO_HOME/bin:$PATH"
if ! command -v rustc >/dev/null 2>&1; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
fi
source "$CARGO_HOME/env" 2>/dev/null || true
rustup default nightly
rustup target add x86_64-unknown-linux-gnu
rustup target add x86_64-pc-windows-msvc
echo "Hello world!"
rustup target add x86_64-unknown-linux-gnu --toolchain nightly
rustup target add x86_64-pc-windows-msvc --toolchain nightly
shell: bash
- name: Install sccache and maturin
run: |
export RUSTUP_HOME="${{ runner.temp }}/rustup"
export CARGO_HOME="${{ runner.temp }}/cargo"
export PATH="$CARGO_HOME/bin:$PATH"
source "$CARGO_HOME/env" 2>/dev/null || true
python -m pip install --upgrade pip
pip install maturin cargo-xwin
pip install maturin
if ! command -v sccache >/dev/null 2>&1; then
cargo install sccache || pip install sccache
cargo install cargo-xwin || pip install cargo-xwin
fi
shell: bash
- name: Build wheels
run: |
export CARGO_HOME="${{ runner.temp }}/cargo"
export PATH="$CARGO_HOME/bin:$PATH"
source "$CARGO_HOME/env" 2>/dev/null || true
maturin sdist --out dist
maturin build --release --out dist --target x86_64-pc-windows-msvc -i python.exe3.14
maturin build --release --out dist --target x86_64-unknown-linux-gnu
maturin build --release --out dist --target x86_64-pc-windows-msvc
- name: Upload wheels
uses: actions/upload-artifact@v3.2.2