Skip to content

Commit 7f117b5

Browse files
messenseadamreichold
authored andcommitted
Try to reproduce #2229
1 parent 52d2c78 commit 7f117b5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,18 @@ jobs:
247247
manylinux: auto
248248
args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml
249249

250+
- run: sudo rm -rf examples/maturin-starter/target
251+
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}
252+
- name: Test cross compile to same architecture
253+
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}
254+
uses: messense/maturin-action@v1
255+
env:
256+
PYO3_CROSS_LIB_DIR: /opt/python/cp39-cp39/lib
257+
with:
258+
target: x86_64-unknown-linux-gnu
259+
manylinux: auto
260+
args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml
261+
250262
- name: Test cross compilation
251263
if: ${{ matrix.platform.os == 'macos-latest' && matrix.python-version == '3.9' }}
252264
uses: messense/maturin-action@v1

0 commit comments

Comments
 (0)