|
28 | 28 | - name: Execute cargo udeps |
29 | 29 | run: cargo +nightly udeps |
30 | 30 |
|
31 | | - build: |
32 | | - name: Execute builds with updated dependencies |
33 | | - runs-on: ubuntu-latest |
34 | | - steps: |
35 | | - - uses: actions/checkout@v4 |
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 | | - rustup target add loongarch64-unknown-linux-gnu |
62 | | - rustup target add riscv64gc-unknown-linux-gnu |
63 | | -
|
64 | | - - name: Test script |
65 | | - env: |
66 | | - TEST_PKCS11_MODULE: /usr/lib/softhsm/libsofthsm2.so |
67 | | - SOFTHSM2_CONF: /tmp/softhsm2.conf |
68 | | - run: | |
69 | | - rm Cargo.lock |
70 | | - ./ci.sh |
71 | | -
|
72 | 31 | audit: |
73 | 32 | name: Check for crates with security vulnerabilities |
74 | 33 | runs-on: ubuntu-latest |
|
0 commit comments