9d9c89a434fc18fa0ed5674a3a1f4fd4122b25b2
[openssl.git] / .github / workflows / run-checker-merge.yml
1 # Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
2 #
3 # Licensed under the Apache License 2.0 (the "License").  You may not use
4 # this file except in compliance with the License.  You can obtain a copy
5 # in the file LICENSE in the source distribution or at
6 # https://www.openssl.org/source/license.html
7
8 name: Run-checker merge
9 # Jobs run per merge to master
10
11 on: [push]
12 permissions:
13   contents: read
14
15 jobs:
16   run-checker:
17     strategy:
18       fail-fast: false
19       matrix:
20         opt: [
21           enable-asan enable-ubsan no-shared no-asm -DOPENSSL_SMALL_FOOTPRINT,
22           no-dgram,
23           no-dso,
24           no-dynamic-engine,
25           no-engine no-shared,
26           no-err,
27           no-filenames,
28           enable-ubsan no-asm -DOPENSSL_SMALL_FOOTPRINT -fno-sanitize=alignment,
29           no-unit-test,
30           enable-weak-ssl-ciphers,
31           enable-zlib,
32         ]
33     runs-on: ubuntu-latest
34     steps:
35     - uses: actions/checkout@v3
36     - name: checkout fuzz/corpora submodule
37       run: git submodule update --init --depth 1 fuzz/corpora
38     - name: config
39       run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
40     - name: config dump
41       run: ./configdata.pm --dump
42     - name: make
43       run: make -s -j4
44     - name: make test
45       run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}