Skip to content

Commit dad1fab

Browse files
Testing
1 parent 61708cf commit dad1fab

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

.github/workflows/build-test.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
1414
BUILD_TYPE: Release
1515
VTK_VERSION_MAJOR: 9
16-
VTK_VERSION_MINOR: 3
17-
VTK_VERSION_PATCH: 1
16+
VTK_VERSION_MINOR: 5
17+
VTK_VERSION_PATCH: 2
1818

1919
jobs:
2020
create_release:
@@ -71,7 +71,7 @@ jobs:
7171
needs: [create_release]
7272
strategy:
7373
matrix:
74-
os: [ubuntu-latest, windows-latest, macos-latest]
74+
os: [ubuntu-latest]
7575

7676
steps:
7777
- uses: actions/checkout@v6
@@ -108,12 +108,6 @@ jobs:
108108
sudo apt-get -qq -y install bindgen
109109
if: runner.os == 'Linux'
110110

111-
- name: Install VTK (Linux)
112-
run: |
113-
sudo apt-get -qq update
114-
sudo apt-get -qq -y install libvtk9-dev
115-
if: runner.os == 'Linux'
116-
117111
- name: Install VTK (MacOS)
118112
run: |
119113
brew install vtk
@@ -122,26 +116,23 @@ jobs:
122116
- name: download pre-built VTK static library
123117
uses: suisei-cn/actions-download-file@v1.6.1
124118
with:
125-
url: https://github.com/sanguinariojoe/vtk-builds/releases/download/VTK-${{env.VTK_VERSION_MAJOR}}.${{env.VTK_VERSION_MINOR}}.${{env.VTK_VERSION_PATCH}}-static/vtk-${{runner.os}}-x86_64.tar.gz
119+
url: https://github.com/sanguinariojoe/vtk-builds/releases/download/VTK-9.5.2-static/vtk-manylinux2014_x86_64.tar.gz
126120
target: ${{github.workspace}}/
127-
if: runner.os == 'Windows'
128121

129122
- name: Create VTK folder
130123
run: |
131124
mkdir -p ${{github.workspace}}/vtk
132-
if: runner.os == 'Windows'
133125
134126
- name: Extract VTK tgz
135127
run: |
136128
tar -xvzf vtk-${{runner.os}}-x86_64.tar.gz -C vtk/
137-
if: runner.os == 'Windows'
138129
139130
- name: Create install folder
140131
run: |
141132
mkdir -p ${{github.workspace}}/install
142133
143134
- name: Configure CMake (Linux)
144-
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DEXTERNAL_EIGEN:BOOL=OFF -DPYTHON_WRAPPER:BOOL=OFF -DFORTRAN_WRAPPER:BOOL=ON -DRUST_WRAPPER:BOOL=ON -DUSE_VTK=ON -DBUILD_TESTING=ON
135+
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/install -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DEXTERNAL_EIGEN:BOOL=OFF -DPYTHON_WRAPPER:BOOL=OFF -DFORTRAN_WRAPPER:BOOL=ON -DRUST_WRAPPER:BOOL=ON -DUSE_VTK=ON -DVTK_DIR=${{github.workspace}}/vtk/lib64/cmake/vtk-${{env.VTK_VERSION_MAJOR}}.${{env.VTK_VERSION_MINOR}} -DMOORDYN_PACKAGE_IGNORE_VTK_DEPENDENCY=ON -DBUILD_TESTING=ON
145136
if: runner.os == 'Linux'
146137

147138
- name: Configure CMake (MacOS)

0 commit comments

Comments
 (0)