File tree Expand file tree Collapse file tree 2 files changed +23
-2
lines changed
.github/actions/ci_script Expand file tree Collapse file tree 2 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: "Installs SoftHSM and executes tests"
4
4
runs :
5
5
using : " composite"
6
6
steps :
7
- - name : Install SoftHSM
7
+ - name : Install & set up SoftHSM (64b)
8
8
run : |
9
9
sudo apt-get update -y -qq &&
10
10
sudo apt-get install -y -qq libsofthsm2 &&
35
35
SOFTHSM2_CONF : /tmp/softhsm2.conf
36
36
run : ./ci.sh
37
37
shell : bash
38
+
39
+ - name : Install SoftHSM (32b) and ix86 dependencies
40
+ run : |
41
+ sudo dpkg --add-architecture i386 &&
42
+ sudo apt-get update -y -qq &&
43
+ sudo apt-get remove -y -qq libsofthsm2 &&
44
+ sudo apt-get install -y -qq gcc-multilib libsofthsm2:i386
45
+ shell : bash
46
+
47
+ - name : Test script on i386
48
+ env :
49
+ TEST_PKCS11_MODULE : /usr/lib/softhsm/libsofthsm2.so
50
+ SOFTHSM2_CONF : /tmp/softhsm2.conf
51
+ TEST_TARGET : --target i686-unknown-linux-gnu
52
+ run : ./ci.sh
53
+ shell : bash
54
+
Original file line number Diff line number Diff line change @@ -37,4 +37,8 @@ RUST_BACKTRACE=1 cargo build --target x86_64-apple-darwin
37
37
RUST_BACKTRACE=1 cargo build --target aarch64-apple-darwin
38
38
RUST_BACKTRACE=1 cargo build --target x86_64-unknown-freebsd
39
39
40
- RUST_BACKTRACE=1 cargo test
40
+ if [[ -z " ${TEST_TARGET:- } " ]]; then
41
+ RUST_BACKTRACE=1 cargo test
42
+ else
43
+ RUST_BACKTRACE=1 cargo test $TEST_TARGET
44
+ fi
You can’t perform that action at this time.
0 commit comments