@@ -656,14 +656,17 @@ jobs:
656
656
# ubuntu x86_64 -> windows x86_64
657
657
- os : " ubuntu-latest"
658
658
target : " x86_64-pc-windows-gnu"
659
- flags : " -i python3.12 --features abi3 --features generate-import-lib"
660
- manylinux : off
659
+ flags : " -i python3.12 --features generate-import-lib"
661
660
# macos x86_64 -> aarch64
662
661
- os : " macos-13" # last x86_64 macos runners
663
662
target : " aarch64-apple-darwin"
664
663
# macos aarch64 -> x86_64
665
664
- os : " macos-latest"
666
665
target : " x86_64-apple-darwin"
666
+ # windows x86_64 -> aarch64
667
+ - os : " windows-latest"
668
+ target : " aarch64-pc-windows-msvc"
669
+ flags : " -i python3.12 --features generate-import-lib"
667
670
steps :
668
671
- uses : actions/checkout@v4
669
672
- uses : actions/setup-python@v5
@@ -677,11 +680,18 @@ jobs:
677
680
- name : Setup cross-compiler
678
681
if : ${{ matrix.target == 'x86_64-pc-windows-gnu' }}
679
682
run : sudo apt-get install -y mingw-w64 llvm
680
- - uses : PyO3/maturin-action@v1
683
+ - name : Compile version-specific library
684
+ uses : PyO3/maturin-action@v1
681
685
with :
682
686
target : ${{ matrix.target }}
683
687
manylinux : ${{ matrix.manylinux }}
684
688
args : --release -m examples/maturin-starter/Cargo.toml ${{ matrix.flags }}
689
+ - name : Compile abi3 library
690
+ uses : PyO3/maturin-action@v1
691
+ with :
692
+ target : ${{ matrix.target }}
693
+ manylinux : ${{ matrix.manylinux }}
694
+ args : --release -m examples/maturin-starter/Cargo.toml --features abi3 ${{ matrix.flags }}
685
695
686
696
test-cross-compilation-windows :
687
697
needs : [fmt]
0 commit comments