spack: remove openmp and cuda variants #257
Workflow file for this run
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: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
name: Run Unit and Regression Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Set system to non-interactive mode | |
run: export DEBIAN_FRONTEND=noninteractive | |
- name: install hdf5 and valgrind | |
run: | | |
sudo apt update | |
sudo apt remove firefox -y --force-yes -qq | |
sudo apt install -y --force-yes -qq build-essential libhdf5-dev valgrind | |
- name: build and run tests | |
run: | | |
mkdir -p bin | |
cd bin | |
cmake -DSPINER_USE_HDF=ON -DSPINER_BUILD_TESTS=ON -DSPINER_TEST_USE_KOKKOS=OFF .. | |
make -j | |
make test | |
valgrind --leak-check=yes --track-origins=yes ./test/test.bin |