Skip to content

Commit

Permalink
Use manual installation of VTK in CI (#187)
Browse files Browse the repository at this point in the history
* Try manual installation

* Increase timout

* Revert changes

* export path

* Set env
  • Loading branch information
davidscn authored Jul 30, 2024
1 parent f616d43 commit 9a705c7
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/aste_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,26 @@ jobs:
build:
runs-on: ubuntu-latest
container: precice/precice:nightly
timeout-minutes: 30
timeout-minutes: 80
env:
CXX_FLAGS: "-Werror -Wall -Wextra -Wno-unused-parameter"
CTEST_OUTPUT_ON_FAILURE: "Yes"
steps:
- uses: actions/checkout@v4
- name: setup system
run: |
apt-get -y update && apt-get -y upgrade
apt-get install -y python3-pip pkg-config time
pip3 install --upgrade pip
- name: install VTK
run: |
apt-get -y install libvtk9-dev
git clone https://gitlab.kitware.com/vtk/vtk.git && cd vtk
git checkout v9.3.0
mkdir build && cd build
cmake -DVTK_WRAP_PYTHON="ON" -DVTK_USE_MPI="ON" -DCMAKE_BUILD_TYPE=Release ..
cmake --build . -j 2 && cmake --install .
echo "PYTHONPATH=/usr/local/lib/python3.10/site-packages/:${PYTHONPATH}" >> $GITHUB_ENV
cd
- uses: actions/checkout@v4
- name: install example dependencies
run: |
python3 -m pip install sympy scipy jinja2
Expand Down

0 comments on commit 9a705c7

Please sign in to comment.