commit
f243c42828
1 changed files with 18 additions and 2 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -13,14 +13,30 @@ jobs:
|
|||
name: Perform tests
|
||||
runs-on: ubuntu-latest
|
||||
container: fedora:latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./clevis-pin-tpm2
|
||||
steps:
|
||||
- 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
|
||||
run: |
|
||||
dnf install -y \
|
||||
tpm2-tss-devel \
|
||||
tpm2-tss-devel clevis \
|
||||
swtpm swtpm-tools \
|
||||
rust cargo clippy
|
||||
rust cargo clippy \
|
||||
golang
|
||||
- name: Remove clevis-pin-tpm2
|
||||
run: |
|
||||
dnf erase -y clevis-pin-tpm2
|
||||
- name: Build
|
||||
run: cargo build
|
||||
- name: Start swtpm
|
||||
run: |
|
||||
mkdir /tmp/tpmdir
|
||||
|
|
Loading…
Reference in a new issue