]>
Commit | Line | Data |
---|---|---|
b6461792 | 1 | # Copyright 2021-2024 The OpenSSL Project Authors. All Rights Reserved. |
08d8c2d8 P |
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 | ||
ab6db11e P |
8 | name: Run-checker merge |
9 | # Jobs run per merge to master | |
10 | ||
11 | on: [push] | |
c6e7f427 VS |
12 | permissions: |
13 | contents: read | |
14 | ||
ab6db11e P |
15 | jobs: |
16 | run-checker: | |
17 | strategy: | |
18 | fail-fast: false | |
19 | matrix: | |
20 | opt: [ | |
1ca61aa5 | 21 | enable-asan enable-ubsan no-shared no-asm -DOPENSSL_SMALL_FOOTPRINT, |
6497ad58 | 22 | no-ct, |
ab6db11e P |
23 | no-dso, |
24 | no-dynamic-engine, | |
456b32ba | 25 | no-ec2m, |
ab6db11e P |
26 | no-engine no-shared, |
27 | no-err, | |
28 | no-filenames, | |
83529f07 | 29 | enable-ubsan no-asm -DOPENSSL_SMALL_FOOTPRINT -fno-sanitize=alignment, |
6497ad58 TM |
30 | no-module, |
31 | no-ocsp, | |
32 | no-pinshared, | |
33 | no-srp, | |
34 | no-srtp, | |
35 | no-ts, | |
ab6db11e P |
36 | enable-weak-ssl-ciphers, |
37 | enable-zlib, | |
38 | ] | |
39 | runs-on: ubuntu-latest | |
40 | steps: | |
37cd49f5 NH |
41 | - name: Adjust ASLR for sanitizer |
42 | run: | | |
43 | sudo cat /proc/sys/vm/mmap_rnd_bits | |
44 | sudo sysctl -w vm.mmap_rnd_bits=28 | |
d4231af6 | 45 | - uses: actions/checkout@v4 |
1ac0464d TM |
46 | - name: checkout fuzz/corpora submodule |
47 | run: git submodule update --init --depth 1 fuzz/corpora | |
ab6db11e | 48 | - name: config |
7b917179 P |
49 | run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }} |
50 | - name: config dump | |
51 | run: ./configdata.pm --dump | |
ab6db11e P |
52 | - name: make |
53 | run: make -s -j4 | |
2d374e1c DM |
54 | - name: get cpu info |
55 | run: | | |
56 | cat /proc/cpuinfo | |
456b32ba | 57 | if [ -x apps/openssl ] ; then ./util/opensslwrap.sh version -c ; fi |
ab6db11e P |
58 | - name: make test |
59 | run: make test HARNESS_JOBS=${HARNESS_JOBS:-4} |