Skip to content

Commit 32f8c33

Browse files
committed
ci: Run tests against kryoptic software token in Fedora
Signed-off-by: Jakub Jelen <[email protected]>
1 parent be7d8c9 commit 32f8c33

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,24 @@ jobs:
4141
- name: "Installs SoftHSM and execute tests"
4242
uses: ./.github/actions/ci_script
4343

44+
tests-kryoptic:
45+
name: Run tests against Kryoptic
46+
runs-on: ubuntu-latest
47+
container: fedora:rawhide
48+
steps:
49+
- name: Install dependencies
50+
run: dnf -y install git cargo clang-devel kryoptic
51+
- uses: actions/checkout@v2
52+
- name: Test script
53+
env:
54+
KRYOPTIC_CONF: /tmp/kryoptic.sql
55+
TEST_PKCS11_MODULE: /usr/lib64/pkcs11/libkryoptic_pkcs11.so
56+
run: |
57+
RUST_BACKTRACE=1 cargo build &&
58+
RUST_BACKTRACE=1 cargo build --all-features &&
59+
RUST_BACKTRACE=1 cargo test
60+
61+
4462
build-msrv:
4563
name: MSRV - Execute CI script
4664
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)