Skip to content

Commit 6a12b51

Browse files
committed
ci: Run softhsm tests on i686
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
1 parent 212bb69 commit 6a12b51

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
matrix:
9696
target:
9797
- x86_64-unknown-linux-gnu
98+
- i686-unknown-linux-gnu
9899
toolchain:
99100
- stable
100101
- "1.77" # MSRV
@@ -107,8 +108,14 @@ jobs:
107108
default: true
108109
- name: Install SoftHSM
109110
run: |
110-
sudo apt-get update -y -qq &&
111-
sudo apt-get install -y -qq libsofthsm2 &&
111+
if [ "${{ matrix.target }}" = "i686-unknown-linux-gnu" ]; then
112+
sudo dpkg --add-architecture i386
113+
sudo apt-get update -y -qq
114+
sudo apt-get install -y -qq gcc-multilib:i386 libsofthsm2:i386 gcc:i386
115+
else
116+
sudo apt-get update -y -qq
117+
sudo apt-get install -y -qq libsofthsm2
118+
fi
112119
mkdir /tmp/tokens
113120
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
114121
- name: Install Rust target

0 commit comments

Comments
 (0)