Skip to content

Commit 1a864d3

Browse files
committed
ci: Run softhsm tests on i686
Signed-off-by: Jakub Jelen <[email protected]>
1 parent 9c8ef2f commit 1a864d3

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
matrix:
9595
target:
9696
- x86_64-unknown-linux-gnu
97+
- i686-unknown-linux-gnu
9798
toolchain:
9899
- stable
99100
- "1.66.0" # MSRV
@@ -105,8 +106,13 @@ jobs:
105106
toolchain: ${{ matrix.toolchain }}
106107
- name: Install SoftHSM
107108
run: |
108-
sudo apt-get update -y -qq &&
109-
sudo apt-get install -y -qq libsofthsm2 &&
109+
sudo apt-get update -y -qq
110+
if [ "{{ matrix.target }}" = "i686-unknown-linux-gnu" ]; then
111+
sudo dpkg --add-architecture i386 &&
112+
sudo apt-get install -y -qq gcc-multilib libsofthsm2:i386
113+
else
114+
sudo apt-get install -y -qq libsofthsm2
115+
fi
110116
mkdir /tmp/tokens
111117
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
112118
- name: Install Rust target

0 commit comments

Comments
 (0)