From: Richard Levitte Date: Fri, 11 Jun 2021 02:30:22 +0000 (+0200) Subject: Windows GitHub CI: Introduce --strict-warnings X-Git-Tag: openssl-3.0.0-beta1~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25eeab019c3eb191bcfcbcae501023be3b75713a;p=thirdparty%2Fopenssl.git Windows GitHub CI: Introduce --strict-warnings This involves making a more comprehensive matrix for the different architectures we build for. Reviewed-by: Shane Lontis Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/15709) --- diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index ed82b398b6c..ffe6c92403c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -10,25 +10,26 @@ jobs: os: - windows-latest - windows-2016 - arch: - - win64 - - win32 + platform: + - arch: win64 + config: VC-WIN64A enable-fips + - arch: win32 + config: VC-WIN32 --strict-warnings no-fips runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v2 - uses: ilammy/msvc-dev-cmd@v1 with: - arch: ${{ matrix.arch }} + arch: ${{ matrix.platform.arch }} - uses: ilammy/setup-nasm@v1 with: - platform: ${{ matrix.arch }} + platform: ${{ matrix.platform.arch }} - name: prepare the build directory run: mkdir _build - name: config working-directory: _build run: | - if ( "${{ matrix.arch }}" -eq "win32" ) { $target = "VC-WIN32" ; $fips = "no-fips" } else { $target = "VC-WIN64A" ; $fips = "enable-fips" } - perl ..\Configure --banner=Configured no-makedepend $fips $target + perl ..\Configure --banner=Configured no-makedepend ${{ matrix.platform.config }} perl configdata.pm --dump - name: build working-directory: _build @@ -38,7 +39,7 @@ jobs: run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz* HARNESS_JOBS=4 - name: install # Run on 64 bit only as 32 bit is slow enough already - if: $${{ matrix.arch == 'win64' }} + if: $${{ matrix.platform.arch == 'win64' }} run: | mkdir _dest nmake install DESTDIR=_dest