Skip to content

Commit

Permalink
Merge pull request #171 from tgonzalezorlandoarm/tg/update-cryptoki-s…
Browse files Browse the repository at this point in the history
…ys-version

Start tracking Cargo.lock file
  • Loading branch information
gowthamsk-arm authored Oct 5, 2023
2 parents de86669 + 69873f3 commit 05e7620
Show file tree
Hide file tree
Showing 5 changed files with 700 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,45 @@ jobs:
- name: Execute cargo udeps
run: cargo +nightly udeps

build:
name: Execute builds with updated dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install SoftHSM
run: |
sudo apt-get update -y -qq &&
sudo apt-get install -y -qq libsofthsm2 &&
mkdir /tmp/tokens
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
- name: Install Rust targets
run: |
rustup target add armv7-unknown-linux-gnueabi &&
rustup target add armv7-unknown-linux-gnueabihf &&
rustup target add arm-unknown-linux-gnueabi &&
rustup target add aarch64-unknown-linux-gnu &&
rustup target add i686-unknown-linux-gnu &&
rustup target add powerpc64-unknown-linux-gnu &&
rustup target add powerpc64le-unknown-linux-gnu &&
rustup target add x86_64-pc-windows-msvc &&
rustup target add x86_64-apple-darwin &&
rustup target add aarch64-apple-darwin &&
rustup target add x86_64-unknown-freebsd
- name: Test script
env:
PKCS11_SOFTHSM2_MODULE: /usr/lib/softhsm/libsofthsm2.so
SOFTHSM2_CONF: /tmp/softhsm2.conf
run: |
rm Cargo.lock
./ci.sh
audit:
name: Check for crates with security vulnerabilities
runs-on: ubuntu-latest
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
*target
**/*.rs.bk
*Cargo.lock
*.swp
*DS_Store
*.patch
Expand Down
Loading

0 comments on commit 05e7620

Please sign in to comment.