add install target #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
module load BuildEnv/gcc-12.2.0.lua; | |
mkdir build && cd build && cmake ..; | |
make -j 8; | |
- name: Test | |
env: | |
HDF5_USE_FILE_LOCKING: 'FALSE' | |
run: | | |
module load BuildEnv/gcc-12.2.0.lua; | |
cd build; | |
ctest -j 1 | |
# TODO: add project specific tests |