From caec75598aa7976f760d7889a96e1158982bec72 Mon Sep 17 00:00:00 2001 From: Curve Date: Fri, 3 May 2024 00:33:00 +0200 Subject: [PATCH] fix(ci): sed, don't repair --- .github/workflows/python.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 6e8d0edb..660a7ccd 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -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 @@ -94,6 +98,7 @@ jobs: run: python -m cibuildwheel --output-dir wheelhouse env: CIBW_BUILD: cp310-* cp311-* cp312-* + CIBW_REPAIR_WHEEL_COMMAND: "" - name: 📦 Upload Artifact uses: actions/upload-artifact@v4