Skip to content

Commit

Permalink
Add SANDBOX_ONLY configuration to CI
Browse files Browse the repository at this point in the history
It has a smaller footprint
  • Loading branch information
williamfgc committed Jan 25, 2022
1 parent dfdee22 commit 18cad8c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci-github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
GCC9-NoMPI-Debug-Real,
GCC9-NoMPI-NoOMP-Real,
GCC9-NoMPI-NoOMP-Complex,
GCC9-NoMPI-Sandbox-Real,
GCC9-MPI-Gcov-Real,
GCC9-MPI-Gcov-Complex,
GCC11-NoMPI-Werror-Real,
Expand All @@ -48,6 +49,11 @@ jobs:
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
options: -u 1001

- jobname: GCC9-NoMPI-Sandbox-Real
container:
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
options: -u 1001

- jobname: GCC9-MPI-Gcov-Real
container:
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
Expand Down
11 changes: 11 additions & 0 deletions tests/test_automation/github-actions/ci/run_step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,17 @@ case "$1" in
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
${GITHUB_WORKSPACE}
;;
*"GCC9-NoMPI-Sandbox-"*)
echo 'Configure for enabling sandbox (minimal) only option with gcc'
cmake -GNinja \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DQMC_MPI=0 \
-DQMC_BUILD_SANDBOX_ONLY=ON \
-DQMC_COMPLEX=$IS_COMPLEX \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
${GITHUB_WORKSPACE}
;;
*"GCC9-MPI-Gcov-"*)
echo 'Configure for code coverage with gcc and gcovr -DENABLE_GCOV=TRUE and upload reports to Codecov'
cmake -GNinja \
Expand Down

0 comments on commit 18cad8c

Please sign in to comment.