From de7a667fcd178c38a196ca10467175bf6bdd8067 Mon Sep 17 00:00:00 2001 From: David Schneider Date: Thu, 23 May 2024 19:42:01 +0200 Subject: [PATCH 1/5] Try manual installation --- .github/workflows/aste_ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/aste_ci.yml b/.github/workflows/aste_ci.yml index 2d3835e6..a350fdc9 100644 --- a/.github/workflows/aste_ci.yml +++ b/.github/workflows/aste_ci.yml @@ -14,12 +14,11 @@ jobs: build: runs-on: ubuntu-latest container: precice/ci-ubuntu-2204:latest - timeout-minutes: 30 + timeout-minutes: 60 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 @@ -27,7 +26,13 @@ jobs: 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 . + cd + - uses: actions/checkout@v4 - name: install example dependencies run: | python3 -m pip install sympy scipy jinja2 From 05cf630dc62da5e80d72c59d56919b8c6e496a2b Mon Sep 17 00:00:00 2001 From: David Schneider Date: Thu, 23 May 2024 20:43:40 +0200 Subject: [PATCH 2/5] Increase timout --- .github/workflows/aste_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aste_ci.yml b/.github/workflows/aste_ci.yml index a350fdc9..2de595d6 100644 --- a/.github/workflows/aste_ci.yml +++ b/.github/workflows/aste_ci.yml @@ -14,7 +14,7 @@ jobs: build: runs-on: ubuntu-latest container: precice/ci-ubuntu-2204:latest - timeout-minutes: 60 + timeout-minutes: 80 env: CXX_FLAGS: "-Werror -Wall -Wextra -Wno-unused-parameter" CTEST_OUTPUT_ON_FAILURE: "Yes" From 1e2d2e8e00d4321268b29371f9eb3a9a7a16e16a Mon Sep 17 00:00:00 2001 From: David Schneider Date: Thu, 23 May 2024 22:34:29 +0200 Subject: [PATCH 3/5] Revert changes --- .github/workflows/aste_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aste_ci.yml b/.github/workflows/aste_ci.yml index 2de595d6..f46f9f51 100644 --- a/.github/workflows/aste_ci.yml +++ b/.github/workflows/aste_ci.yml @@ -13,7 +13,7 @@ concurrency: jobs: build: runs-on: ubuntu-latest - container: precice/ci-ubuntu-2204:latest + container: precice/precice:develop timeout-minutes: 80 env: CXX_FLAGS: "-Werror -Wall -Wextra -Wno-unused-parameter" From 2a823fc451dfb9b2fd17bf7112ab7e39ecc9fb0c Mon Sep 17 00:00:00 2001 From: David Schneider Date: Fri, 24 May 2024 07:40:49 +0200 Subject: [PATCH 4/5] export path --- .github/workflows/aste_ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/aste_ci.yml b/.github/workflows/aste_ci.yml index f46f9f51..f0c88371 100644 --- a/.github/workflows/aste_ci.yml +++ b/.github/workflows/aste_ci.yml @@ -31,6 +31,7 @@ jobs: mkdir build && cd build cmake -DVTK_WRAP_PYTHON="ON" -DVTK_USE_MPI="ON" -DCMAKE_BUILD_TYPE=Release .. cmake --build . -j 2 && cmake --install . + export PYTHONPATH="/usr/local/lib/python3.10/site-packages/:${PYTHONPATH}" cd - uses: actions/checkout@v4 - name: install example dependencies From 09751e0c7d3f0057e77bb102b58353bf7ed6555f Mon Sep 17 00:00:00 2001 From: David Schneider Date: Fri, 24 May 2024 08:59:31 +0200 Subject: [PATCH 5/5] Set env --- .github/workflows/aste_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aste_ci.yml b/.github/workflows/aste_ci.yml index f0c88371..5e68d79f 100644 --- a/.github/workflows/aste_ci.yml +++ b/.github/workflows/aste_ci.yml @@ -31,7 +31,7 @@ jobs: mkdir build && cd build cmake -DVTK_WRAP_PYTHON="ON" -DVTK_USE_MPI="ON" -DCMAKE_BUILD_TYPE=Release .. cmake --build . -j 2 && cmake --install . - export PYTHONPATH="/usr/local/lib/python3.10/site-packages/:${PYTHONPATH}" + echo "PYTHONPATH=/usr/local/lib/python3.10/site-packages/:${PYTHONPATH}" >> $GITHUB_ENV cd - uses: actions/checkout@v4 - name: install example dependencies