run CI tests using .eid/authorized_certificates #34
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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:https://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:https://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 |