summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2021-05-04 08:59:01 +1000
committerPauli <pauli@openssl.org>2021-05-12 17:12:16 +1000
commitab6db11e63485e8dc17f768f9be35a9120f20c91 (patch)
treeab3c4b3a04335492058d28ab450dd0a7cd7156ab
parent4da44374d1d5cb1142107385a7f7bdc9e9f48afc (diff)
Run-checker converted to GitHub Actions
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15129)
-rw-r--r--.github/workflows/run-checker-ci.yml38
-rw-r--r--.github/workflows/run-checker-daily.yml134
-rw-r--r--.github/workflows/run-checker-merge.yml31
3 files changed, 203 insertions, 0 deletions
diff --git a/.github/workflows/run-checker-ci.yml b/.github/workflows/run-checker-ci.yml
new file mode 100644
index 0000000000..d89c7740e1
--- /dev/null
+++ b/.github/workflows/run-checker-ci.yml
@@ -0,0 +1,38 @@
+
+# Jobs run per pull request submission
+name: Run-checker CI
+on: [pull_request]
+jobs:
+ run-checker:
+ strategy:
+ fail-fast: false
+ matrix:
+ opt: [
+ no-cmp,
+ no-cms,
+ no-ct,
+ no-dtls,
+ no-ec,
+ no-legacy,
+ no-siv,
+ no-sock,
+ no-srp,
+ no-srtp,
+ enable-ssl-trace,
+ no-tests,
+ no-threads,
+ no-tls,
+ no-tls1_3,
+ enable-trace,
+ no-ts,
+ no-ui,
+ ]
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: config
+ run: CC=clang ./config --strict-warnings ${{ matrix.opt }} && perl configdata.pm --dump
+ - name: make
+ run: make -s -j4
+ - name: make test
+ run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
diff --git a/.github/workflows/run-checker-daily.yml b/.github/workflows/run-checker-daily.yml
new file mode 100644
index 0000000000..9f0bc37db2
--- /dev/null
+++ b/.github/workflows/run-checker-daily.yml
@@ -0,0 +1,134 @@
+name: Run-checker daily
+# Jobs run daily
+
+on:
+ schedule:
+ - cron: '0 6 * * *'
+jobs:
+ run-checker:
+ strategy:
+ fail-fast: false
+ matrix:
+ opt: [
+ 386,
+ enable-acvp-tests,
+ no-afalgeng,
+ no-aria,
+ no-asan,
+ no-asm,
+ no-async,
+ no-autoalginit,
+ no-autoerrinit,
+ no-autoload-config,
+ no-bf,
+ no-blake2,
+ no-buildtest-c++,
+ no-bulk,
+ no-cached-fetch,
+ no-camellia,
+ no-capieng,
+ no-cast,
+ no-chacha,
+ no-cmac,
+ no-comp,
+ enable-crypto-mdebug,
+ no-crypto-mdebug,
+ enable-crypto-mdebug-backtrace,
+ no-crypto-mdebug-backtrace,
+ no-deprecated,
+ no-des,
+ no-devcryptoeng,
+ no-dh,
+ no-dsa,
+ no-dtls1,
+ no-dtls1_2,
+ no-dtls1_2-method,
+ no-dtls1-method,
+ no-ec2m,
+ no-ecdh,
+ no-ecdsa,
+ enable-ec_nistp_64_gcc_128,
+ no-ec_nistp_64_gcc_128,
+ enable-egd,
+ no-egd,
+ no-engine,
+ no-external-tests,
+ enable-fips,
+ enable-fips enable-acvp-tests,
+ enable-fips no-tls1_3,
+ no-fuzz-afl,
+ no-fuzz-libfuzzer,
+ no-gost,
+ enable-heartbeats,
+ no-heartbeats,
+ no-hw,
+ no-hw-padlock,
+ no-idea,
+ no-ktls,
+ no-makedepend,
+ enable-md2,
+ no-md2,
+ no-md4,
+ no-mdc2,
+ no-module,
+ no-msan,
+ no-multiblock,
+ no-nextprotoneg,
+ no-ocb,
+ no-ocsp,
+ no-padlockeng,
+ no-pic,
+ no-pinshared,
+ no-poly1305,
+ no-posix-io,
+ no-psk,
+ no-rc2,
+ no-rc4,
+ enable-rc5,
+ no-rc5,
+ no-rdrand,
+ no-rfc3779,
+ no-ripemd,
+ no-rmd160,
+ no-scrypt,
+ no-sctp,
+ no-secure-memory,
+ no-seed,
+ no-shared,
+ no-siphash,
+ no-sm2,
+ no-sm3,
+ no-sm4,
+ no-sse2,
+ no-ssl,
+ no-ssl3,
+ no-ssl3-method,
+ no-ssl-trace,
+ no-static-engine no-shared,
+ no-stdio,
+ no-tls1,
+ no-tls1_1,
+ no-tls1_1-method,
+ no-tls1_2,
+ no-tls1_2-method,
+ no-tls1-method,
+ no-trace,
+ no-ubsan,
+ no-ui-console,
+ enable-unit-test,
+ no-uplink,
+ no-weak-ssl-ciphers,
+ no-whirlpool,
+ no-zlib,
+ enable-zlib-dynamic,
+ no-zlib-dynamic,
+ ]
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: config
+ run: CC=clang ./config --strict-warnings ${{ matrix.opt }} && perl configdata.pm --dump
+ - name: make
+ run: make -s -j4
+ - name: make test
+ run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}
diff --git a/.github/workflows/run-checker-merge.yml b/.github/workflows/run-checker-merge.yml
new file mode 100644
index 0000000000..179d5dc0c0
--- /dev/null
+++ b/.github/workflows/run-checker-merge.yml
@@ -0,0 +1,31 @@
+name: Run-checker merge
+# Jobs run per merge to master
+
+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 }} && perl configdata.pm --dump
+ - name: make
+ run: make -s -j4
+ - name: make test
+ run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}