Skip to content

Commit d938ff8

Browse files
committed
.
1 parent cf14ec0 commit d938ff8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/pysplashsurf_CI.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,16 @@ jobs:
4747
include:
4848
- python-version: "manylinux_x86_64"
4949
archs: "x86_64"
50+
enable_test: true,
5051
- python-version: "manylinux_i686"
5152
archs: "i686"
53+
enable_test: false,
5254
- python-version: "manylinux_aarch64"
5355
archs: "aarch64"
56+
enable_test: false,
5457
- python-version: "manylinux_armv7l"
5558
archs: "armv7l"
59+
enable_test: false,
5660
steps:
5761
- uses: actions/checkout@v4
5862
- name: Download stub artifact
@@ -72,8 +76,9 @@ jobs:
7276
platforms: all
7377
- name: Install cibuildwheel
7478
run: python -m pip install cibuildwheel==3.1.3
75-
- name: Build wheels
79+
- name: Build wheels with tests
7680
run: python -m cibuildwheel --output-dir wheelhouse pysplashsurf
81+
if: ${{ matrix.enable_test }}
7782
env:
7883
CIBW_BUILD: ${{ format('cp312-{0}', matrix.python-version) }}
7984
CIBW_ARCHS: ${{ matrix.archs }}
@@ -82,6 +87,14 @@ jobs:
8287
CIBW_TEST_COMMAND: "cargo install --path {project}/splashsurf && pytest pysplashsurf/tests"
8388
CIBW_TEST_SOURCES: "pysplashsurf/tests"
8489
CIBW_TEST_REQUIRES: pytest meshio trimesh rtree scipy
90+
- name: Build wheels without tests
91+
run: python -m cibuildwheel --output-dir wheelhouse pysplashsurf
92+
if: ${{ !matrix.enable_test }}
93+
env:
94+
CIBW_BUILD: ${{ format('cp312-{0}', matrix.python-version) }}
95+
CIBW_ARCHS: ${{ matrix.archs }}
96+
CIBW_BEFORE_ALL_LINUX: curl -sSf https://sh.rustup.rs | sh -s -- -y
97+
CIBW_ENVIRONMENT_LINUX: "PATH=$HOME/.cargo/bin:$PATH"
8598
- name: Upload wheels
8699
uses: actions/upload-artifact@v4
87100
with:

0 commit comments

Comments
 (0)