]> git.ipfire.org Git - thirdparty/openssl.git/blob - .github/workflows/ci.yml
ci.yml: Add 'perl configdata.pm --dump' to each config
[thirdparty/openssl.git] / .github / workflows / ci.yml
1 name: GitHub CI
2
3 on: [pull_request]
4
5 jobs:
6 basic_gcc:
7 runs-on: ubuntu-latest
8 steps:
9 - uses: actions/checkout@v2
10 - name: config
11 run: ./config --strict-warnings && perl configdata.pm --dump
12 - name: make
13 run: make
14 - name: make test
15 run: make test
16 - name: make doc-nits
17 run: make doc-nits
18
19 basic_clang:
20 runs-on: ubuntu-latest
21 steps:
22 - uses: actions/checkout@v2
23 - name: config
24 run: CC=clang ./config --strict-warnings && perl configdata.pm --dump
25 - name: make
26 run: make
27 - name: make test
28 run: make test
29
30 minimal:
31 runs-on: ubuntu-latest
32 steps:
33 - uses: actions/checkout@v2
34 - name: config
35 run: ./config --strict-warnings no-shared no-dso no-pic no-aria no-async no-autoload-config no-blake2 no-bf no-camellia no-cast no-chacha no-cmac no-cms no-comp no-ct no-des no-dgram no-dh no-dsa no-dtls no-ec2m no-engine no-filenames no-gost no-idea no-mdc2 no-md4 no-multiblock no-nextprotoneg no-ocsp no-ocb no-poly1305 no-psk no-rc2 no-rc4 no-rmd160 no-seed no-siphash no-sm2 no-sm3 no-sm4 no-srp no-srtp no-ssl3 no-ssl3-method no-ts no-ui-console no-whirlpool no-asm -DOPENSSL_NO_SECURE_MEMORY -DOPENSSL_SMALL_FOOTPRINT && perl configdata.pm --dump
36 - name: make
37 run: make
38 - name: make test
39 run: make test
40
41 sanitizers:
42 runs-on: ubuntu-latest
43 steps:
44 - uses: actions/checkout@v2
45 - name: config
46 run: ./config --debug no-asm enable-asan enable-ubsan enable-rc5 enable-md2 enable-ec_nistp_64_gcc_128 && perl configdata.pm --dump
47 - name: make
48 run: make
49 - name: make test
50 run: OPENSSL_TEST_RAND_ORDER=0 make test
51
52 enable_non-default_options:
53 runs-on: ubuntu-latest
54 steps:
55 - uses: actions/checkout@v2
56 - name: config
57 run: ./config --strict-warnings no-ec enable-ssl-trace enable-zlib enable-zlib-dynamic enable-crypto-mdebug enable-crypto-mdebug-backtrace enable-egd && perl configdata.pm --dump
58 - name: make
59 run: make
60 - name: make test
61 run: make test
62
63 legacy_and_no-asm:
64 runs-on: ubuntu-latest
65 steps:
66 - uses: actions/checkout@v2
67 - name: config
68 run: ./config no-asm -Werror --debug no-afalgeng no-shared enable-crypto-mdebug enable-rc5 enable-md2 && perl configdata.pm --dump
69 - name: make
70 run: make
71 - name: make test
72 run: make test
73
74 buildtest:
75 runs-on: ubuntu-latest
76 steps:
77 - uses: actions/checkout@v2
78 - name: config
79 run: ./config no-asm no-makedepend enable-buildtest-c++ --strict-warnings -D_DEFAULT_SOURCE && perl configdata.pm --dump
80 - name: make
81 run: make
82 - name: make test
83 run: make test