Skip to content

Update Github actions from ubuntu 20.04 to ubuntu 24.04 #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Apr 28, 2025
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4eca2ec
updated CI from ubuntu 20.04 to ubuntu 24.04
corentin-prigent Apr 17, 2025
8c15e2b
change Fortran compiler from gfortran-9 to gfortran-13
corentin-prigent Apr 17, 2025
13ad711
on Linux, apt install libvtk9-dev instead of libvtk7-dev
corentin-prigent Apr 17, 2025
328abab
modified installation of scotch in github action worflows; v6.1.3 to …
corentin-prigent Apr 17, 2025
b36ba12
update scotch compilation option
corentin-prigent Apr 17, 2025
8fe02fc
fixed some small mistake
corentin-prigent Apr 17, 2025
78e0a9e
attempt to fix Scotch install
corentin-prigent Apr 17, 2025
8eda0f5
attempt to fix Scotch install
corentin-prigent Apr 17, 2025
9ba490e
specified fortran compiler for scotch
corentin-prigent Apr 17, 2025
f36ef7e
added bison install in macos runner
corentin-prigent Apr 17, 2025
00b0ddb
fixed missing bison path
corentin-prigent Apr 17, 2025
61445f4
fixed missing bison path
corentin-prigent Apr 17, 2025
cac6105
switched from macos-13 to macos-14
corentin-prigent Apr 17, 2025
629af02
modified installation of vtk; switch from apt install to source insta…
corentin-prigent Apr 17, 2025
84d97cb
added option -DVTK_USE_X=NO
corentin-prigent Apr 18, 2025
0acfd69
modified VTK_DIR cmake option
corentin-prigent Apr 18, 2025
b30e7b3
fixed CI
corentin-prigent Apr 18, 2025
b142bd5
Revert "fixed CI"
corentin-prigent Apr 18, 2025
c2df0af
fixed CI
corentin-prigent Apr 18, 2025
1656ab7
fix CI
corentin-prigent Apr 23, 2025
8e21cd6
Merge branch 'develop' into feature/update-ci
corentin-prigent Apr 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
modified VTK_DIR cmake option
  • Loading branch information
corentin-prigent committed Apr 18, 2025
commit 0acfd695dbe6f788334b759b86d6b06b5f123975
8 changes: 5 additions & 3 deletions .github/workflows/main-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,13 @@ jobs:
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install vtk
echo "VTK_DIR=\"-DVTK_DIR=/opt/homebrew/lib/cmake/vtk-9.4 \"" >> "$GITHUB_ENV"
elif [ "$RUNNER_OS" == "Linux" ]; then
git clone --branch v9.4.2 https://gitlab.kitware.com/vtk/vtk.git
cmake -Svtk -Bbuild-vtk -DCMAKE_INSTALL_PREFIX=vtk-install \
-DVTK_USE_X=NO
cmake --build build-vtk --target install -j ${{ env.NJOBS }}
echo "VTK_DIR=\"-DVTK_DIR=vtk-install/lib/cmake/vtk-9.4 \"" >> "$GITHUB_ENV"
fi

- name: Install bison
Expand Down Expand Up @@ -277,7 +279,7 @@ jobs:
-DUSE_SCOTCH=${{ matrix.scotch }} \
-DSCOTCH_DIR=scotch-install \
-DUSE_VTK=${{ matrix.vtk }} \
-DVTK_DIR=vtk-install \
${{ env.VTK_DIR }}
-DMMG5_INT=${{ matrix.int }} \
-DBUILD_SHARED_LIBS=ON \
-DTEST_LIBMMG=ON \
Expand All @@ -301,7 +303,7 @@ jobs:
-DUSE_SCOTCH=${{ matrix.scotch }} \
-DSCOTCH_DIR=scotch-install \
-DUSE_VTK=${{ matrix.vtk }} \
-DVTK_DIR=vtk-install \
${{ env.VTK_DIR }}
-DMMG5_INT=${{ matrix.int }} \
-DLIBMMG_STATIC=OFF \
-DLIBMMGS_STATIC=OFF \
Expand All @@ -325,7 +327,7 @@ jobs:
-DUSE_SCOTCH=${{ matrix.scotch }} \
-DSCOTCH_DIR=scotch-install \
-DUSE_VTK=${{ matrix.vtk }} \
-DVTK_DIR=vtk-install \
${{ env.VTK_DIR }}
-DMMG5_INT=${{ matrix.int }} \
-DTEST_LIBMMG=ON \
-DTEST_LIBMMGS=ON \
Expand Down