Skip to content

ci: Run tests also on i686 #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ jobs:
matrix:
target:
- x86_64-unknown-linux-gnu
- i686-unknown-linux-gnu
toolchain:
- stable
- "1.66.0" # MSRV
Expand All @@ -105,8 +106,13 @@ jobs:
toolchain: ${{ matrix.toolchain }}
- name: Install SoftHSM
run: |
sudo apt-get update -y -qq &&
sudo apt-get install -y -qq libsofthsm2 &&
sudo apt-get update -y -qq
if [ "{{ matrix.target }}" = "i686-unknown-linux-gnu" ]; then
sudo dpkg --add-architecture i386 &&
sudo apt-get install -y -qq gcc-multilib:i386 libsofthsm2:i386
else
sudo apt-get install -y -qq libsofthsm2
fi
mkdir /tmp/tokens
echo "directories.tokendir = /tmp/tokens" > /tmp/softhsm2.conf
- name: Install Rust target
Expand Down
1 change: 1 addition & 0 deletions cryptoki/tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1771,6 +1771,7 @@ fn sha256_digest_multipart_already_initialized() -> TestResult {
Ok(())
}

#[cfg(target_pointer_width = "64")]
#[test]
#[serial]
fn gcm_param_graceful_failure() -> TestResult {
Expand Down
Loading