Run-checker converted to GitHub Actions

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15129)
This commit is contained in:
Pauli 2021-05-04 08:59:01 +10:00
parent 4da44374d1
commit ab6db11e63
3 changed files with 203 additions and 0 deletions

38
.github/workflows/run-checker-ci.yml vendored Normal file
View File

@ -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}

134
.github/workflows/run-checker-daily.yml vendored Normal file
View File

@ -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}

31
.github/workflows/run-checker-merge.yml vendored Normal file
View File

@ -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}