Skip to content

Commit 05e7620

Browse files
Merge pull request #171 from tgonzalezorlandoarm/tg/update-cryptoki-sys-version
Start tracking Cargo.lock file
2 parents de86669 + 69873f3 commit 05e7620

File tree

5 files changed

+700
-1
lines changed

5 files changed

+700
-1
lines changed

.github/workflows/nightly.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,45 @@ jobs:
2828
- name: Execute cargo udeps
2929
run: cargo +nightly udeps
3030

31+
build:
32+
name: Execute builds with updated dependencies
33+
runs-on: ubuntu-latest
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Setup Rust toolchain
37+
uses: actions-rs/toolchain@v1
38+
with:
39+
toolchain: stable
40+
41+
- name: Install SoftHSM
42+
run: |
43+
sudo apt-get update -y -qq &&
44+
sudo apt-get install -y -qq libsofthsm2 &&
45+
mkdir /tmp/tokens
46+
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
47+
48+
- name: Install Rust targets
49+
run: |
50+
rustup target add armv7-unknown-linux-gnueabi &&
51+
rustup target add armv7-unknown-linux-gnueabihf &&
52+
rustup target add arm-unknown-linux-gnueabi &&
53+
rustup target add aarch64-unknown-linux-gnu &&
54+
rustup target add i686-unknown-linux-gnu &&
55+
rustup target add powerpc64-unknown-linux-gnu &&
56+
rustup target add powerpc64le-unknown-linux-gnu &&
57+
rustup target add x86_64-pc-windows-msvc &&
58+
rustup target add x86_64-apple-darwin &&
59+
rustup target add aarch64-apple-darwin &&
60+
rustup target add x86_64-unknown-freebsd
61+
62+
- name: Test script
63+
env:
64+
PKCS11_SOFTHSM2_MODULE: /usr/lib/softhsm/libsofthsm2.so
65+
SOFTHSM2_CONF: /tmp/softhsm2.conf
66+
run: |
67+
rm Cargo.lock
68+
./ci.sh
69+
3170
audit:
3271
name: Check for crates with security vulnerabilities
3372
runs-on: ubuntu-latest

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
*target
22
**/*.rs.bk
3-
*Cargo.lock
43
*.swp
54
*DS_Store
65
*.patch

0 commit comments

Comments
 (0)