Skip to content

Commit c626592

Browse files
committed
fixes
1 parent 78c8afd commit c626592

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/build-wheel.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ jobs:
8383
echo "CUDA_BINDINGS_CYTHON_TESTS_DIR=$(realpath "$REPO_DIR/cuda_bindings/tests/cython")" >> $GITHUB_ENV
8484
echo "CIBW_BUILD=${CIBW_BUILD}" >> $GITHUB_ENV
8585

86-
echo "PY_EXT_SUFFIX=$(python -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))")" >> $GITHUB_ENV
87-
8886
- name: Dump environment
8987
run: |
9088
env
@@ -204,9 +202,12 @@ jobs:
204202

205203
- name: Build cuda.bindings Cython tests
206204
run: |
207-
pip install $(ls -l ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl)[test]
205+
pip install $(ls ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl)[test]
208206
bash ${{ env.CUDA_BINDINGS_CYTHON_TESTS_DIR }}/build_tests.sh
209207
208+
# For caching
209+
echo "PY_EXT_SUFFIX=$(python -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))")" >> $GITHUB_ENV
210+
210211
- name: Upload cuda.bindings Cython tests
211212
uses: actions/upload-artifact@v4
212213
with:

0 commit comments

Comments
 (0)