aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2021-06-11 04:30:22 +0200
committerPauli <pauli@openssl.org>2021-06-12 14:41:51 +1000
commit25eeab019c3eb191bcfcbcae501023be3b75713a (patch)
tree930084fe5be623f35dda769c75d4000cd24ace89 /.github
parentdd53c2979372c40fcfce0a1de6221f1c68b157a6 (diff)
downloadopenssl-25eeab019c3eb191bcfcbcae501023be3b75713a.zip
openssl-25eeab019c3eb191bcfcbcae501023be3b75713a.tar.gz
openssl-25eeab019c3eb191bcfcbcae501023be3b75713a.tar.bz2
Windows GitHub CI: Introduce --strict-warnings
This involves making a more comprehensive matrix for the different architectures we build for. Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15709)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index ed82b39..ffe6c92 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