diff options
author | Stefan Schindler <dns2utf8@estada.ch> | 2020-08-05 19:00:52 +0200 |
---|---|---|
committer | Stefan Schindler <dns2utf8@estada.ch> | 2020-08-06 00:01:41 +0200 |
commit | 9499f2bb01dc1032ae155999b2d7764b9491341f (patch) | |
tree | d539f2e2609519a233110ca8995b9fbde15d336f /.github/workflows/c-cpp.yml | |
parent | ea1f649046546a860f68b97ddc3015b7e44346ca (diff) |
Add CI with prepare script
* Only use heimdal kerberos implementation
* Fetch yubico/libfido2 (see: https://github.com/Yubico/libfido2)
* Add one target for
* all features
* each feature alone
* no features
Diffstat (limited to '.github/workflows/c-cpp.yml')
-rw-r--r-- | .github/workflows/c-cpp.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 000000000..f18f05a8a --- /dev/null +++ b/.github/workflows/c-cpp.yml | |||
@@ -0,0 +1,38 @@ | |||
1 | name: C/C++ CI | ||
2 | |||
3 | on: | ||
4 | push: | ||
5 | branches: [ master, ci ] | ||
6 | pull_request: | ||
7 | branches: [ master ] | ||
8 | |||
9 | jobs: | ||
10 | build: | ||
11 | |||
12 | runs-on: ubuntu-latest | ||
13 | |||
14 | strategy: | ||
15 | matrix: | ||
16 | configs: | ||
17 | - "" | ||
18 | - "--with-kerberos5" | ||
19 | - "--with-libedit" | ||
20 | - "--with-pam" | ||
21 | - "--with-security-key-builtin" | ||
22 | - "--with-selinux" | ||
23 | - "--with-kerberos5 --with-libedit --with-pam --with-security-key-builtin --with-selinux" | ||
24 | |||
25 | steps: | ||
26 | - uses: actions/checkout@v2 | ||
27 | - name: setup CI system | ||
28 | run: ./.github/setup_ci.sh ${{ matrix.configs }} | ||
29 | - name: autoreconf | ||
30 | run: autoreconf | ||
31 | - name: configure | ||
32 | run: ./configure ${{ matrix.configs }} | ||
33 | - name: make | ||
34 | run: make | ||
35 | - name: make tests | ||
36 | run: make tests | ||
37 | env: | ||
38 | TEST_SSH_UNSAFE_PERMISSIONS: 1 | ||