diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47c7e55f0..589d28f22 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,7 +51,6 @@ jobs: compiler_fc: gfortran-10 caching: true coverage: true - cmake_options: -DENABLE_WARNING_AS_ERROR=ON - name: linux gnu-12 os: ubuntu-24.04 @@ -61,7 +60,6 @@ jobs: compiler_fc: gfortran-12 caching: true coverage: false - cmake_options: -DENABLE_WARNING_AS_ERROR=ON - name: linux gnu-14 os: ubuntu-24.04 @@ -71,7 +69,6 @@ jobs: compiler_fc: gfortran-14 caching: true coverage: false - cmake_options: -DENABLE_WARNING_AS_ERROR=ON - name: linux clang-13 os: ubuntu-22.04 @@ -81,7 +78,6 @@ jobs: compiler_fc: gfortran-10 caching: true coverage: false - cmake_options: -DENABLE_WARNING_AS_ERROR=ON - name: linux clang-18 os: ubuntu-24.04 @@ -91,7 +87,6 @@ jobs: compiler_fc: gfortran-14 caching: true coverage: false - cmake_options: -DENABLE_WARNING_AS_ERROR=ON - name : linux intel os: ubuntu-24.04 @@ -101,7 +96,6 @@ jobs: compiler_fc: ifx caching: true coverage: false - cmake_options: -DENABLE_WARNING_AS_ERROR=ON - name : linux intel-classic os: ubuntu-22.04 @@ -111,7 +105,6 @@ jobs: compiler_fc: ifort caching: true coverage: false - cmake_options: -DENABLE_WARNING_AS_ERROR=ON - name: linux nvhpc-25.1 os: ubuntu-24.04 @@ -121,7 +114,7 @@ jobs: compiler_fc: nvfortran caching: true coverage: false - cmake_options: -DSKIP_TEST_atlas_test_omp_sort=TRUE -DENABLE_WARNING_AS_ERROR=ON + cmake_options: -DSKIP_TEST_atlas_test_omp_sort=TRUE - name: macos # Xcode compiler requires empty environment variables, so we pass null (~) here @@ -283,7 +276,7 @@ jobs: dependency_cmake_options: | ecmwf/eckit: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF -DENABLE_ECKIT_CMD=OFF -DENABLE_ECKIT_SQL=OFF -DENABLE_WARNINGS=OFF" ecmwf/fckit: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTS=OFF" - cmake_options: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DATLAS_BITS_LOCAL=64 ${{ matrix.cmake_options }}" + cmake_options: "-G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DATLAS_BITS_LOCAL=64 -DENABLE_WARNING_AS_ERROR=ON ${{ matrix.cmake_options }}" ctest_options: "${{ matrix.ctest_options }}" - name: Verify tools