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
|
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
|
||||||
|
run: cargo build
|
||||||
- name: Start swtpm
|
- name: Start swtpm
|
||||||
run: |
|
run: |
|
||||||
mkdir /tmp/tpmdir
|
mkdir /tmp/tpmdir
|
||||||
|
|
Loading…
Reference in a new issue