diff --git a/.github/workflows/ResInsightWithCache.yml b/.github/workflows/ResInsightWithCache.yml index 29d8b16f56..5dae4fadc6 100644 --- a/.github/workflows/ResInsightWithCache.yml +++ b/.github/workflows/ResInsightWithCache.yml @@ -141,6 +141,7 @@ jobs: -D CMAKE_BUILD_TYPE=$ENV{BUILD_TYPE} -D GSL_ENABLE=true -D RESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS=true + -D RESINSIGHT_TREAT_WARNINGS_AS_ERRORS=true -D RESINSIGHT_ENABLE_GRPC=true -D RESINSIGHT_GRPC_PYTHON_EXECUTABLE=python -D VCPKG_TARGET_TRIPLET=${{ matrix.config.vcpkg-triplet }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a8ae8e379f..11cee2bac5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,7 +59,7 @@ jobs: uses: lukka/run-cmake@v1 with: cmakeListsOrSettingsJson: CMakeListsTxtAdvanced - cmakeAppendedArgs: '-DGSL_ENABLE=true -DRESINSIGHT_ENABLE_GRPC=true -DRESINSIGHT_GRPC_PYTHON_EXECUTABLE=python -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=true -DRESINSIGHT_ENABLE_UNITY_BUILD=true -DRESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS=true' + cmakeAppendedArgs: '-DGSL_ENABLE=true -DRESINSIGHT_ENABLE_GRPC=true -DRESINSIGHT_GRPC_PYTHON_EXECUTABLE=python -DRESINSIGHT_ENABLE_PRECOMPILED_HEADERS=true -DRESINSIGHT_ENABLE_UNITY_BUILD=true -DRESINSIGHT_TREAT_WARNINGS_AS_ERRORS=true -DRESINSIGHT_INCLUDE_APPLICATION_UNIT_TESTS=true' buildDirectory: ${{ github.workspace }}/cmakebuild buildWithCMakeArgs: '--config Release --target package' useVcpkgToolchainFile: true @@ -92,4 +92,4 @@ jobs: path: ${{ runner.workspace }}/ResInsight/cmakebuild/packages - \ No newline at end of file +