Add some basic Windows builds to the Windows CI workflow
authorTomas Mraz <tomas@openssl.org>
Wed, 19 May 2021 12:18:04 +0000 (14:18 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 24 May 2021 07:47:05 +0000 (09:47 +0200)
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15349)

.github/workflows/windows.yml

index 57962eef55d6407645481e8d4193965d354faa5a..5a12bdb58d49891bbc4e6cab0f09483e1d7671ad 100644 (file)
@@ -3,6 +3,60 @@ name: Windows GitHub CI
 on: [pull_request, push]
 
 jobs:
+  shared:
+    runs-on: windows-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: ilammy/msvc-dev-cmd@v1
+    - name: prepare the build directory
+      run: mkdir _build
+    - name: config
+      working-directory: _build
+      run: |
+        perl ..\Configure --banner=Configured no-makedepend no-fips VC-WIN64A-masm
+        perl configdata.pm --dump
+    - name: build
+      working-directory: _build
+      run: nmake
+    - name: test
+      working-directory: _build
+      run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz
+  plain:
+    runs-on: windows-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: ilammy/msvc-dev-cmd@v1
+    - name: prepare the build directory
+      run: mkdir _build
+    - name: config
+      working-directory: _build
+      run: |
+        perl ..\Configure --banner=Configured no-makedepend no-shared no-fips VC-WIN64A-masm
+        perl configdata.pm --dump
+    - name: build
+      working-directory: _build
+      run: nmake
+    - name: test
+      working-directory: _build
+      run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz
+  shared-x86:
+    runs-on: windows-latest
+    steps:
+    - uses: actions/checkout@v2
+    - uses: ilammy/msvc-dev-cmd@v1
+    - name: prepare the build directory
+      run: mkdir _build
+    - name: config
+      working-directory: _build
+      run: |
+        perl ..\Configure --banner=Configured no-makedepend no-fips no-asm no-uplink VC-WIN32
+        perl configdata.pm --dump
+    - name: build
+      working-directory: _build
+      run: nmake
+    - name: test
+      working-directory: _build
+      run: nmake test VERBOSE_FAILURE=yes TESTS=-test_fuzz
   minimal:
     runs-on: windows-latest
     steps: