From de2c69fb02b4704b93ae3c29aa17372f3504ebe7 Mon Sep 17 00:00:00 2001 From: Dusan Figala Date: Wed, 12 Apr 2023 09:45:39 +0200 Subject: [PATCH] Remove duplicate cmake options yaml keys --- .github/workflows/reusable-ci-hpc.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-ci-hpc.yml b/.github/workflows/reusable-ci-hpc.yml index 9c60568b9..793f26ebe 100644 --- a/.github/workflows/reusable-ci-hpc.yml +++ b/.github/workflows/reusable-ci-hpc.yml @@ -25,8 +25,9 @@ jobs: aec netcdf4/new --parallel: 64 - --cmake-options: -DENABLE_EXTRA_TESTS=1 + --cmake-options: | + -DENABLE_EXTRA_TESTS=1 + ${{ inputs.nightly_test && '-DENABLE_PNG=1,-DENABLE_NETCDF=1' || '' }} ${{ inputs.nightly_test && '--post-script: .github/ci-nightly-test.sh' || '' }} ${{ inputs.nightly_test && '--force-build: true' || '' }} - ${{ inputs.nightly_test && '--cmake-options: -DENABLE_PNG=1,-DENABLE_NETCDF=1' || '' }} secrets: inherit