From 56a3b15c1d9bff0a48834ffd6b88d93efdbc0292 Mon Sep 17 00:00:00 2001 From: Vegard Gjeldvik Jervell Date: Fri, 8 Nov 2024 16:11:26 +0100 Subject: [PATCH] Powershell syntax ... --- .github/workflows/cibuildwheel.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index b4f18f1..d739b08 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-python@v4 - name: Fetch Thermopack - if: runner.os != 'windows-latest' + if: matrix.os != 'windows-latest' run: | curl -L -o thermopack.zip ${{ env.THERMOPACK_URL }}/thermopack-${{ matrix.os }}.zip unzip thermopack.zip @@ -32,7 +32,7 @@ jobs: pip install wheel-v2-${{ matrix.os }}/* - name: Fetch Thermopack (Windows) - if: runner.os == 'windows-latest' + if: matrix.os == 'windows-latest' shell: pwsh run: | Invoke-WebRequest -Uri "${{ env.THERMOPACK_URL }}/thermopack-${{ matrix.os }}.zip" -OutFile "thermopack.zip" @@ -50,8 +50,7 @@ jobs: CIBW_ARCHS: auto64 CIBW_ARCHS_MACOS: "universal2" CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=11.0 THERMOPACK_DIR=${PWD}/${{ env.THERMOPACK_DIR }} - CIBW_ENVIRONMENT_LINUX: CXXFLAGS='-fconcepts' - CIBW_ENVIRONMENT_PASS_LINUX: THERMOPACK_DIR=${PWD}/${{ env.THERMOPACK_DIR }} + CIBW_ENVIRONMENT_LINUX: CXXFLAGS='-fconcepts' THERMOPACK_DIR=${PWD}/${{ env.THERMOPACK_DIR }} CIBW_ENVIRONMENT_WINDOWS: THERMOPACK_DIR=${PWD}\${{ env.THERMOPACK_DIR }}\${{ env.THERMOPACK_DIR }} CIBW_BUILD_VERBOSITY_WINDOWS: 2 CIBW_SKIP: "*pypy* *pp* *cp36* *cp37* *musl*"