Skip to content

Commit

Permalink
WIP: migrate to rust
Browse files Browse the repository at this point in the history
  • Loading branch information
brandsimon committed Nov 20, 2023
1 parent 3134929 commit 25ca70a
Show file tree
Hide file tree
Showing 56 changed files with 1,718 additions and 357 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ jobs:
- run: git submodule update --init --recursive
- run: sudo apt-get update
- run: sudo apt-get --yes install protobuf-compiler cargo shellcheck
dbus-daemon
swtpm swtpm-tools tpm2-abrmd tpm2-tools
libtss2-dev libtss2-tcti-swtpm0 libtss2-tcti-tabrmd0
- run: shellcheck usr/lib/cryptographic_id/* usr/bin/*
usr/lib/initcpio/install/cryptographic-id
usr/lib/dracut/modules.d/90cryptographic-id/module-setup.sh
- run: cargo test --workspace --verbose --locked
- run: dbus-run-session bash tests/run_test.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/target
/tests/swtpm/.lock
6 changes: 4 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ test:
image: rust:latest
script:
- apt-get update
- apt-get --yes install protobuf-compiler shellcheck
- apt-get --yes install protobuf-compiler shellcheck dbus-daemon
swtpm swtpm-tools tpm2-abrmd tpm2-tools
libtss2-dev libtss2-tcti-tabrmd0 libtss2-tcti-swtpm0
- git submodule update --init --recursive
- shellcheck usr/lib/cryptographic_id/* usr/bin/*
usr/lib/initcpio/install/cryptographic-id
usr/lib/dracut/modules.d/90cryptographic-id/module-setup.sh
- cargo test --workspace --verbose --locked
- dbus-run-session bash tests/run_test.sh

codespell:
image: ubuntu
Expand Down
Loading

0 comments on commit 25ca70a

Please sign in to comment.