Update GitHub actions as suggested by dependabot
[openssl.git] / .github / workflows / run-checker-ci.yml
1 # Copyright 2021-2022 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 # Jobs run per pull request submission
9 name: Run-checker CI
10 on: [pull_request, push]
11 permissions:
12   contents: read
13
14 jobs:
15   run-checker:
16     strategy:
17       fail-fast: false
18       matrix:
19         opt: [
20           no-cmp,
21           no-cms,
22           no-ct,
23           no-dtls,
24           no-ec,
25           no-ec2m,
26           no-legacy,
27           no-rfc3779,
28           no-sock,
29           no-srp,
30           no-srtp,
31           enable-ssl-trace,
32           no-tests,
33           no-threads,
34           no-tls,
35           no-tls1_2,
36           no-tls1_3,
37           enable-trace enable-fips,
38           no-ts,
39           no-ui,
40         ]
41     runs-on: ubuntu-latest
42     steps:
43     - uses: actions/checkout@v3
44     - name: config
45       run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
46     - name: config dump
47       run: ./configdata.pm --dump
48     - name: make
49       run: make -s -j4
50     - name: make test
51       run: make test HARNESS_JOBS=${HARNESS_JOBS:-4}