File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 59
59
RUST_BACKTRACE=1 cargo test
60
60
61
61
62
+ tests-softokn :
63
+ name : Run tests against Softokn
64
+ runs-on : ubuntu-latest
65
+ steps :
66
+ - uses : actions/checkout@v2
67
+ - name : Setup Rust toolchain
68
+ uses : actions-rs/toolchain@v1
69
+ with :
70
+ toolchain : stable
71
+ - name : Install dependencies
72
+ run : sudo apt-get -yq install libnss3 libnss3-tools libnss3-dev
73
+ - name : Test script
74
+ env :
75
+ NSS_LIB_PARAMS : configDir=/tmp/nssdb/
76
+ TEST_PKCS11_MODULE : /usr/lib/x86_64-linux-gnu/libsoftokn3.so
77
+ TEST_TOKEN_LABEL : NSS Certificate DB
78
+ TEST_SKIP_TOKEN_INIT : 1
79
+ run : |
80
+ mkdir /tmp/nssdb/ &&
81
+ echo "fedcba" > /tmp/nssdb/pinfile &&
82
+ certutil -N -d /tmp/nssdb/ -f /tmp/nssdb/pinfile &&
83
+ RUST_BACKTRACE=1 cargo build &&
84
+ RUST_BACKTRACE=1 cargo build --all-features &&
85
+ RUST_BACKTRACE=1 cargo test
86
+
87
+
62
88
build-msrv :
63
89
name : MSRV - Execute CI script
64
90
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments