Skip to content

Commit

Permalink
Integrate cargo-xwin for cross compiling to Windows MSVC targets
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed May 15, 2022
1 parent cef46c3 commit 84e0808
Show file tree
Hide file tree
Showing 5 changed files with 766 additions and 23 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,11 @@ jobs:
- name: test cross compiling windows abi3 wheel
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get install -y mingw-w64
sudo apt-get install -y mingw-w64 llvm
rustup target add x86_64-pc-windows-gnu
rustup target add x86_64-pc-windows-msvc
cargo run -- build --no-sdist -m test-crates/pyo3-pure/Cargo.toml --target x86_64-pc-windows-gnu
cargo run -- build --no-sdist -m test-crates/pyo3-pure/Cargo.toml --target x86_64-pc-windows-msvc
- name: test compiling with PYO3_CONFIG_FILE
shell: bash
run: |
Expand Down
Loading

0 comments on commit 84e0808

Please sign in to comment.