diff --git a/.github/workflows/ci_build_scm_ubuntu_22.04_nvidia.yml b/.github/workflows/ci_build_scm_ubuntu_22.04_nvidia.yml index 8e0c1bded..37cd360f0 100644 --- a/.github/workflows/ci_build_scm_ubuntu_22.04_nvidia.yml +++ b/.github/workflows/ci_build_scm_ubuntu_22.04_nvidia.yml @@ -248,10 +248,10 @@ jobs: run: | cd ${SCM_ROOT}/scm mkdir bin && cd bin - if: matrix.enable-gpu-acc - cmake -DCCPP_SUITES=${suites} ../src -DENABLE_NVIDIA_OPENACC=True + if: contains(matrix.enable-gpu-acc, 'true') + cmake -DCCPP_SUITES=${suites} ../src -DENABLE_NVIDIA_OPENACC=True else: - cmake -DCCPP_SUITES=${suites} ../src + cmake -DCCPP_SUITES=${suites} ../src - name: Configure build with CMake (Debug) if: contains(matrix.build-type, 'Debug')