Skip to content

Commit

Permalink
Add minimal tests with and without kokkos to biuld matrix on github
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Sep 25, 2024
1 parent f725d8d commit c493244
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests_minimal.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests Minimal
name: Tests Minimal No Kokkos

on:
push:
Expand Down Expand Up @@ -32,6 +32,7 @@ jobs:
-DSINGULARITY_USE_SPINER_WITH_HDF5=OFF \
-DSINGULARITY_BUILD_TESTS=ON \
-DSINGULARITY_FORCE_SUBMODULE_MODE=ON \
-DSINGULARITY_USE_KOKKOS=OFF \
..
make
make install
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/tests_minimal_kokkos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Tests Minimal With Kokkos

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
tests-minimal:
name: Run minimal set of tests, to constrain minimal build
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set system to non-interactive mode
run: export DEBIAN_FRONTEND=noninteractive
- name: install dependencies
run: |
sudo apt-get update -y -qq
sudo apt-get install -y --allow-downgrades --allow-remove-essential --allow-change-held-packages -qq build-essential
- name: build and run tests
run: |
mkdir -p bin
cd bin
mkdir -p ${HOME}/install
cmake -DCMAKE_INSTALL_PREFIX=${HOME}/install \
-DSINGULARITY_USE_SPINER=OFF \
-DSINGULARITY_USE_SPINER_WITH_HDF5=OFF \
-DSINGULARITY_BUILD_TESTS=ON \
-DSINGULARITY_FORCE_SUBMODULE_MODE=ON \
-DSINGULARITY_USE_KOKKOS=ON \
..
make
make install
make test

0 comments on commit c493244

Please sign in to comment.