Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2021-12-08 11:32:34 +01:00
parent 3ef768fb98
commit 1ac3e2a99f
No known key found for this signature in database
GPG key ID: A0A847B80FBBFF4A

View file

@ -13,14 +13,28 @@ jobs:
name: Perform tests name: Perform tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: fedora:latest container: fedora:latest
defaults:
run:
working-directory: ./clevis-pin-tpm2
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
path: clevis-pin-tpm2
- name: Check out the policy signtool
uses: actions/checkout@v2
with:
path: clevis-pin-tpm2-signtool
repository: puiterwijk/clevis-pin-tpm2-signtool
- name: Install dependencies - name: Install dependencies
run: | run: |
dnf install -y \ dnf install -y \
tpm2-tss-devel \ tpm2-tss-devel clevis \
swtpm swtpm-tools \ swtpm swtpm-tools \
rust cargo clippy rust cargo clippy \
golang
- name: Remove clevis-pin-tpm2
run: |
dnf erase -y clevis-pin-tpm2
- name: Build - name: Build
run: cargo build run: cargo build
- name: Start swtpm - name: Start swtpm