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 set -e
export RUSTUP_HOME="${{ runner.temp }}/rustup" export RUSTUP_HOME="${{ runner.temp }}/rustup"
export CARGO_HOME="${{ runner.temp }}/cargo" export CARGO_HOME="${{ runner.temp }}/cargo"
export PATH="$CARGO_HOME/bin:$PATH"
if ! command -v rustc >/dev/null 2>&1; then if ! command -v rustc >/dev/null 2>&1; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
fi fi
source "$CARGO_HOME/env" 2>/dev/null || true source "$CARGO_HOME/env" 2>/dev/null || true
rustup default nightly rustup default nightly
rustup target add x86_64-unknown-linux-gnu rustup target add x86_64-unknown-linux-gnu --toolchain nightly
rustup target add x86_64-pc-windows-msvc rustup target add x86_64-pc-windows-msvc --toolchain nightly
echo "Hello world!"
shell: bash shell: bash
- name: Install sccache and maturin - name: Install sccache and maturin
run: | run: |
export RUSTUP_HOME="${{ runner.temp }}/rustup" export RUSTUP_HOME="${{ runner.temp }}/rustup"
export CARGO_HOME="${{ runner.temp }}/cargo" 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 python -m pip install --upgrade pip
pip install maturin cargo-xwin pip install maturin
if ! command -v sccache >/dev/null 2>&1; then if ! command -v sccache >/dev/null 2>&1; then
cargo install sccache || pip install sccache cargo install sccache || pip install sccache
cargo install cargo-xwin || pip install cargo-xwin
fi fi
shell: bash shell: bash
- name: Build wheels - name: Build wheels
run: | run: |
export CARGO_HOME="${{ runner.temp }}/cargo" 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 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-unknown-linux-gnu
maturin build --release --out dist --target x86_64-pc-windows-msvc
- name: Upload wheels - name: Upload wheels
uses: actions/upload-artifact@v3.2.2 uses: actions/upload-artifact@v3.2.2