Skip to content

Commit

Permalink
#68 add module use in ubuntu tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Apr 29, 2024
1 parent 12a7950 commit 0aa81ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ubuntu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
image: ${{ matrix.os }}

steps:
- id: set-env
uses: ./.github/actions/set-env

- name: checkout
uses: actions/checkout@v4

Expand Down Expand Up @@ -78,9 +81,9 @@ jobs:
echo "CHASTE_TEST_OUTPUT=$(pwd)/chaste-test-dir" >> ${GITHUB_ENV}
- name: compile chaste build info
working-directory: Chaste/build
run: |
module purge
module use ${{ steps.set-env.outputs.modules_dir }}/modulefiles
module load xsd/${{ matrix.xsd_ver }}
module load xercesc/${{ matrix.xercesc_ver }}
module load sundials/${{ matrix.sundials_ver }}
Expand All @@ -91,6 +94,7 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --parallel $(nproc) --target TestChasteBuildInfo
ctest -V -R TestChasteBuildInfo --output-on-failure | tee buildinfo
working-directory: Chaste/build
shell: bash --login -e -o pipefail {0} # login to source /etc/profile.d/modules.sh

- name: verify dependency versions
Expand Down

0 comments on commit 0aa81ec

Please sign in to comment.