ci: add a no-legacy build
authorPauli <ppzgs1@gmail.com>
Mon, 15 Mar 2021 22:29:35 +0000 (08:29 +1000)
committerPauli <ppzgs1@gmail.com>
Wed, 17 Mar 2021 23:03:06 +0000 (09:03 +1000)
Fixes #12091

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14563)

.github/workflows/ci.yml

index 6a2e47cbbdad362ff62bce997a7167d1002e9190..7adc2ab7461ff597b58a676937e310eabd86ff01 100644 (file)
@@ -124,6 +124,17 @@ jobs:
     - name: make test
       run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
 
+  no-legacy:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: config
+      run: ./config --strict-warnings no-legacy && perl configdata.pm --dump
+    - name: make
+      run: make -s -j4
+    - name: make test
+      run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
+
   legacy:
     runs-on: ubuntu-latest
     steps: