Skip to content

Commit

Permalink
maturin still requires a Python interpreter on Windows for now
Browse files Browse the repository at this point in the history
Switch from Python 3.10 to Python 3.8 because I don't want to test with Rust 1.48.0
  • Loading branch information
messense committed Apr 10, 2022
1 parent eb6b645 commit 8368c62
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,17 +272,17 @@ jobs:
args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml

- name: Test cross compile to Windows
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.8' }}
run: |
sudo apt-get install -y mingw-w64
rustup target add x86_64-pc-windows-gnu
cargo build --manifest-path examples/maturin-starter/Cargo.toml --features abi3 --target x86_64-pc-windows-gnu
- name: Test cross compile to Windows with maturin
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.10' }}
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.8' }}
uses: messense/maturin-action@v1
with:
target: x86_64-pc-windows-gnu
args: --no-sdist -m examples/maturin-starter/Cargo.toml --cargo-extra-args="--features abi3"
args: -i python3.8 --no-sdist -m examples/maturin-starter/Cargo.toml --cargo-extra-args="--features abi3"

env:
CARGO_TERM_VERBOSE: true
Expand Down

0 comments on commit 8368c62

Please sign in to comment.