Skip to content

Commit

Permalink
fix(ci): sed, don't repair
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 2, 2024
1 parent 8d1e35a commit d2c0538
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,14 @@ jobs:
- name: 🛞 CIBuildWheel
run: python -m pip install cibuildwheel==2.17.0

- name: 🛠️ Build VTK
if: ${{ matrix.os != 'ubuntu-latest' }}
- name: 🛠️ Build VTK (Windows)
if: ${{ matrix.os == 'windows-latest' }}
run: sed -i 's/DVIENNALS_BUILD_PYTHON=ON"/\0,"-DVIENNALS_PACKAGE_PYTHON=ON"/g' pyproject.toml

- name: 🛠️ Build VTK (MacOs)
if: ${{ matrix.os == 'macos-latest' }}
run: sed -i.bak 's/DVIENNALS_BUILD_PYTHON=ON"/\0,"-DVIENNALS_PACKAGE_PYTHON=ON"/g' pyproject.toml

- name: 🛠️ Use VTK-Python Libs
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sed -i 's/DVIENNALS_BUILD_PYTHON=ON"/\0,"-DVIENNALS_VTK_PYTHON_LIBS=ON"/g' pyproject.toml
Expand All @@ -94,6 +98,7 @@ jobs:
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BUILD: cp310-* cp311-* cp312-*
CIBW_REPAIR_WHEEL_COMMAND: "echo 'Skipping repair'"

- name: 📦 Upload Artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit d2c0538

Please sign in to comment.