-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
32 lines (30 loc) · 994 Bytes
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
test:
image: ubuntu:latest
script:
- apt-get update
- apt-get --yes install
clang cargo pkgconf protobuf-compiler git
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
- dbus-run-session bash tests/run_test.sh -- --include-ignored
codespell:
image: ubuntu
script:
- apt-get update
- apt-get --yes install codespell git
- git submodule update --init --recursive
- codespell --skip ./tests/files,./.git --check-filenames
--ignore-words-list keypair,crate,ba
rustfmt:
image: rust:latest
script:
- apt-get update
- apt-get --yes install git
- git submodule update --init --recursive
- rustup component add rustfmt
- cargo fmt