From dbb373d5fb69184cb5a3a71db1919b44e1210b49 Mon Sep 17 00:00:00 2001 From: Patrick Shriwise Date: Tue, 6 Aug 2024 14:58:11 -0500 Subject: [PATCH] Updating CI to include libmesh --- .github/workflows/ci.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31753db..f393d5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,12 +41,23 @@ jobs: make -j4 sudo make install + - name: Build libMesh + shell: bash + run: | + cd ~ + git clone https://github.com/libMesh/libmesh.git + cd libmesh + git checkout v1.6.0 + mkdir build + ../configure --prefix=/usr/local --enable-netcdf --enable-optimize --disable-mpi + make -j2 + sudo make install - name: Build shell: bash run: | mkdir build cd build - cmake .. + cmake .. -DXDG_ENABLE_MOAB=ON -DXDG_ENABLE_LIBMESH=ON make -j4 - name: Test @@ -54,3 +65,7 @@ jobs: run: | cd build ctest -j4 --output-on-failure + + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 \ No newline at end of file