Skip to content

Commit d8d6c5e

Browse files
committed
.
1 parent 8aab135 commit d8d6c5e

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/pysplashsurf_CI.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
env:
7878
CIBW_BUILD: ${{ format('cp312-{0}', matrix.python-version) }}
7979
CIBW_ARCHS: ${{ matrix.archs }}
80-
CIBW_BEFORE_ALL: curl -sSf https://sh.rustup.rs | sh -s -- -y
80+
CIBW_BEFORE_ALL_LINUX: curl -sSf https://sh.rustup.rs | sh -s -- -y
8181
CIBW_ENVIRONMENT_LINUX: "PATH=$HOME/.cargo/bin:$PATH"
8282
CIBW_TEST_COMMAND: "cargo install --path {project}/splashsurf && pytest pysplashsurf/tests"
8383
CIBW_TEST_SOURCES: "pysplashsurf/tests"
@@ -121,10 +121,7 @@ jobs:
121121
env:
122122
CIBW_BUILD: ${{ format('cp312-{0}', matrix.python-version) }}
123123
CIBW_ARCHS: ${{ matrix.archs }}
124-
CIBW_BEFORE_ALL: curl -sSf https://sh.rustup.rs | sh -s -- -y
125-
CIBW_ENVIRONMENT_LINUX: "PATH=$HOME/.cargo/bin:$PATH"
126-
CIBW_ENVIRONMENT_MACOS: >-
127-
PATH=$HOME/.cargo/bin:$PATH MACOSX_DEPLOYMENT_TARGET=${{ matrix.macosx_deployment_target }}
124+
CIBW_ENVIRONMENT_MACOS: "MACOSX_DEPLOYMENT_TARGET=${{ matrix.macosx_deployment_target }}"
128125
CIBW_TEST_COMMAND: "cargo install --path {project}/splashsurf && pytest pysplashsurf/tests"
129126
CIBW_TEST_SOURCES: "pysplashsurf/tests"
130127
CIBW_TEST_REQUIRES: pytest meshio trimesh rtree scipy
@@ -163,7 +160,6 @@ jobs:
163160
env:
164161
CIBW_BUILD: ${{ format('cp312-{0}', matrix.python-version) }}
165162
CIBW_ARCHS: ${{ matrix.archs }}
166-
CIBW_BEFORE_ALL: curl -sSf https://sh.rustup.rs | sh -s -- -y
167163
# Tests are broken on Windows because trimesh library tries to write temporary files which fails
168164
#CIBW_TEST_COMMAND: "cargo install --path {project}/splashsurf && pytest pysplashsurf/tests"
169165
#CIBW_TEST_SOURCES: "pysplashsurf/tests"

0 commit comments

Comments
 (0)