Skip to content

Commit f75c550

Browse files
committed
Trying to eliminate deprecation warnings and get Windows builds of VTK to work
1 parent f802e48 commit f75c550

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build-vtk.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
steps:
2020
- name: Checkout project
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v4
2222

2323
- uses: actions/setup-python@v4
2424
with:
@@ -44,7 +44,11 @@ jobs:
4444
run: |
4545
pip3 install --upgrade setuptools
4646
mkdir -p ./vtk/build
47-
wget https://www.vtk.org/files/release/9.2/VTK-9.2.6.tar.gz # Update this for newer releases of VTK
47+
if [ "$RUNNER_OS" == "Windows"]; then
48+
bitsadmin /addfile job1 https://www.vtk.org/files/release/9.2/VTK-9.2.6.tar.gz "${PWD}\\VTK-9.2.6.tar.gz" # Update this for newer releases of VTK
49+
else
50+
wget https://www.vtk.org/files/release/9.2/VTK-9.2.6.tar.gz # Update this for newer releases of VTK
51+
fi
4852
tar -zxf VTK-9.2.6.tar.gz --directory ./vtk/
4953
cd ./vtk/build
5054
cmake -GNinja -DVTK_WHEEL_BUILD=ON -DVTK_WRAP_PYTHON=ON -DCMAKE_BUILD_TYPE=Release ../VTK-9.2.6

.github/workflows/build-wheel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
# ls -ld /tmp/vtk-wheels/*-cp${{ matrix.python-version }}/vtk-*.whl
3636

3737
- name: Checkout project
38-
uses: actions/checkout@v2
38+
uses: actions/checkout@v4
3939

4040
# See https://cibuildwheel.readthedocs.io/en/stable/
4141
# Not usable for now, because cadquery libraries require glibc 2.31,

0 commit comments

Comments
 (0)