]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
[github-ci] Import run-checker workflows from master
authorNicola Tuveri <nic.tuv@gmail.com>
Fri, 6 Aug 2021 15:37:02 +0000 (18:37 +0300)
committerNicola Tuveri <nic.tuv@gmail.com>
Wed, 18 Aug 2021 22:01:22 +0000 (01:01 +0300)
This commit does not include the daily run-checker workflow.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16252)

.github/workflows/run-checker-ci.yml [new file with mode: 0644]
.github/workflows/run-checker-merge.yml [new file with mode: 0644]

diff --git a/.github/workflows/run-checker-ci.yml b/.github/workflows/run-checker-ci.yml
new file mode 100644 (file)
index 0000000..a999492
--- /dev/null
@@ -0,0 +1,37 @@
+---
+name: Run-checker CI for 1.1.1
+# Jobs run per pull request submission
+on: [pull_request, push]
+jobs:
+  run-checker:
+    strategy:
+      fail-fast: false
+      matrix:
+        opt: [
+          no-cms,
+          no-ct,
+          no-dtls,
+          no-ec,
+          no-ec2m,
+          no-sock,
+          no-srp,
+          no-srtp,
+          enable-ssl-trace,
+          no-tests,
+          no-threads,
+          no-tls,
+          no-tls1_3,
+          no-ts,
+          no-ui,
+        ]
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: config
+      run: CC=clang ./config --strict-warnings ${{ matrix.opt }}
+    - name: config dump
+      run: ./configdata.pm --dump
+    - name: make
+      run: make -s -j4
+    - name: make test
+      run: make test
diff --git a/.github/workflows/run-checker-merge.yml b/.github/workflows/run-checker-merge.yml
new file mode 100644 (file)
index 0000000..ff2d666
--- /dev/null
@@ -0,0 +1,34 @@
+---
+name: Run-checker merge for 1.1.1
+# Jobs run per merge to 1.1.1
+
+on: [push]
+jobs:
+  run-checker:
+    strategy:
+      fail-fast: false
+      matrix:
+        opt: [
+          enable-asan no-shared no-asm -DOPENSSL_SMALL_FOOTPRINT,
+          no-dgram,
+          no-dso,
+          no-dynamic-engine,
+          no-engine no-shared,
+          no-err,
+          no-filenames,
+          enable-ubsan no-asm -DPEDANTIC -DOPENSSL_SMALL_FOOTPRINT -fno-sanitize=alignment,
+          no-unit-test,
+          enable-weak-ssl-ciphers,
+          enable-zlib,
+        ]
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v2
+    - name: config
+      run: CC=clang ./config --strict-warnings ${{ matrix.opt }}
+    - name: config dump
+      run: ./configdata.pm --dump
+    - name: make
+      run: make -s -j4
+    - name: make test
+      run: make test