File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
.github/actions/ci_script Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: "Installs SoftHSM and executes tests"
44runs :
55 using : " composite"
66 steps :
7- - name : Install SoftHSM
7+ - name : Install & set up SoftHSM (64b)
88 run : |
99 sudo apt-get update -y -qq &&
1010 sudo apt-get install -y -qq libsofthsm2 &&
3535 SOFTHSM2_CONF : /tmp/softhsm2.conf
3636 run : ./ci.sh
3737 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,4 @@ RUST_BACKTRACE=1 cargo build --target x86_64-apple-darwin
3737RUST_BACKTRACE=1 cargo build --target aarch64-apple-darwin
3838RUST_BACKTRACE=1 cargo build --target x86_64-unknown-freebsd
3939
40- RUST_BACKTRACE=1 cargo test
40+ RUST_BACKTRACE=1 cargo test $TEST_TARGET
You can’t perform that action at this time.
0 commit comments