Skip to content

Commit

Permalink
Powershell syntax ...
Browse files Browse the repository at this point in the history
  • Loading branch information
vegardjervell committed Nov 8, 2024
1 parent b4fbc54 commit 56a3b15
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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*"
Expand Down

0 comments on commit 56a3b15

Please sign in to comment.