From: Tomas Mraz Date: Wed, 18 Jun 2025 16:45:24 +0000 (+0200) Subject: CI: Enable strict warnings on all Windows CI builds X-Git-Tag: openssl-3.6.0-alpha1~497 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f08f30f1dd70225159602540016e83b4c6cbcf3;p=thirdparty%2Fopenssl.git CI: Enable strict warnings on all Windows CI builds Reviewed-by: Saša Nedvědický Reviewed-by: Neil Horman (Merged from https://github.com/openssl/openssl/pull/27806) --- diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml index 6034c4fc0f4..e47eb154c98 100644 --- a/.github/workflows/os-zoo.yml +++ b/.github/workflows/os-zoo.yml @@ -140,7 +140,7 @@ jobs: run: mkdir _build - name: config working-directory: _build - run: perl ..\Configure --banner=Configured no-makedepend enable-fips + run: perl ..\Configure --banner=Configured --strict-warnings no-makedepend enable-fips - name: config dump working-directory: _build run: ./configdata.pm --dump diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index f6bba3ba750..1e62801440d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -44,7 +44,7 @@ jobs: - name: config working-directory: _build run: | - perl ..\Configure --banner=Configured no-makedepend -DOSSL_WINCTX=openssl ${{ matrix.platform.config }} + perl ..\Configure --banner=Configured --strict-warnings no-makedepend -DOSSL_WINCTX=openssl ${{ matrix.platform.config }} perl configdata.pm --dump - name: build working-directory: _build @@ -105,7 +105,7 @@ jobs: - name: config working-directory: _build run: | - perl ..\Configure --banner=Configured enable-demos no-makedepend no-shared no-fips enable-md2 enable-rc5 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-trace enable-crypto-mdebug -DOSSL_WINCTX=openssl VC-WIN64A-masm + perl ..\Configure --banner=Configured --strict-warnings enable-demos no-makedepend no-shared no-fips enable-md2 enable-rc5 enable-ssl3 enable-ssl3-method enable-weak-ssl-ciphers enable-trace enable-crypto-mdebug -DOSSL_WINCTX=openssl VC-WIN64A-masm perl configdata.pm --dump - name: build working-directory: _build @@ -141,7 +141,7 @@ jobs: - name: config working-directory: _build run: | - perl ..\Configure --banner=Configured enable-demos no-makedepend no-bulk no-deprecated no-fips no-asm no-threads -DOPENSSL_SMALL_FOOTPRINT -DOSSL_WINCTX=openssl + perl ..\Configure --banner=Configured --strict-warnings enable-demos no-makedepend no-bulk no-deprecated no-fips no-asm no-threads -DOPENSSL_SMALL_FOOTPRINT -DOSSL_WINCTX=openssl perl configdata.pm --dump - name: build working-directory: _build diff --git a/.github/workflows/windows_comp.yml b/.github/workflows/windows_comp.yml index a46b56b9d4d..5e4048a75d2 100644 --- a/.github/workflows/windows_comp.yml +++ b/.github/workflows/windows_comp.yml @@ -40,7 +40,7 @@ jobs: - name: config working-directory: _build run: | - perl ..\Configure enable-comp enable-zstd --with-zstd-include=C:\vcpkg\packages\zstd_x64-windows\include --with-zstd-lib=C:\vcpkg\packages\zstd_x64-windows\lib\zstd.lib no-makedepend -DOSSL_WINCTX=openssl VC-WIN64A + perl ..\Configure --strict-warnings enable-comp enable-zstd --with-zstd-include=C:\vcpkg\packages\zstd_x64-windows\include --with-zstd-lib=C:\vcpkg\packages\zstd_x64-windows\lib\zstd.lib no-makedepend -DOSSL_WINCTX=openssl VC-WIN64A perl configdata.pm --dump - name: build working-directory: _build @@ -102,7 +102,7 @@ jobs: - name: config working-directory: _build run: | - perl ..\Configure enable-comp enable-brotli --with-brotli-include=C:\vcpkg\packages\brotli_x64-windows\include --with-brotli-lib=C:\vcpkg\packages\brotli_x64-windows\lib no-makedepend -DOSSL_WINCTX=openssl VC-WIN64A + perl ..\Configure --strict-warnings enable-comp enable-brotli --with-brotli-include=C:\vcpkg\packages\brotli_x64-windows\include --with-brotli-lib=C:\vcpkg\packages\brotli_x64-windows\lib no-makedepend -DOSSL_WINCTX=openssl VC-WIN64A perl configdata.pm --dump - name: build working-directory: _build