-
Notifications
You must be signed in to change notification settings - Fork 20
60 lines (54 loc) · 1.47 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Build
on:
pull_request:
paths:
- '**.c'
- '**.h'
- '**.in'
- '**.po'
- .github/workflows/ci.yml
- .github/ci-test.sh
push:
jobs:
macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- run: .github/build.sh macos
ubuntu:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: .github/build.sh ubuntu
- uses: actions/upload-artifact@v3
with:
name: pam_p11
path:
pam_p11*.tar.gz
- run: sudo apt install softhsm2 opensc
- run: .github/ci-test.sh
ubuntu-22:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: .github/build.sh ubuntu
- run: sudo apt install softhsm2 opensc
- name: upgrading broken libp11 (using libp11 from lunar)
run: |
echo "deb http://us.archive.ubuntu.com/ubuntu/ lunar main"|sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install libp11-3 libp11-dev
- run: .github/ci-test.sh
ubuntu-22-libressl:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- run: .github/build.sh ubuntu
- run: sudo apt install softhsm2 opensc
- name: upgrading broken libp11 (using libp11 from lunar)
run: |
echo "deb http://us.archive.ubuntu.com/ubuntu/ lunar main"|sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt install libp11-3 libp11-dev
- run: .github/setup-libressl.sh
- run: .github/ci-test.sh