Skip to content

Commit

Permalink
Add QMC_OMP configurations to GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfgc committed Jan 24, 2022
1 parent 6aef5af commit 44b382c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci-github-actions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
jobname:
[
GCC9-NoMPI-Debug-Real,
GCC9-NoMPI-NoOMP-Real,
GCC9-NoMPI-NoOMP-Complex,
GCC9-MPI-Gcov-Real,
GCC9-MPI-Gcov-Complex,
GCC11-NoMPI-Werror-Real,
Expand All @@ -36,6 +38,16 @@ jobs:
image: williamfgc/qmcpack-ci:ubuntu20-openmpi
options: -u 1001

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

- jobname: GCC9-NoMPI-NoOMP-Complex
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 @@ -68,6 +68,17 @@ case "$1" in
-DCMAKE_BUILD_TYPE=Debug \
${GITHUB_WORKSPACE}
;;
*"GCC9-NoMPI-NoOMP-"*)
echo 'Configure for disabling OpenMP with QMC_OMP=0'
cmake -GNinja \
-DCMAKE_C_COMPILER=gcc \
-DCMAKE_CXX_COMPILER=g++ \
-DQMC_MPI=0 \
-DQMC_OMP=0 \
-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 44b382c

Please sign in to comment.