Skip to content

Commit 3e4818c

Browse files
committed
ci: reintroduce x86-64 test for non-SSE environment
Signed-off-by: Martin Kröning <[email protected]>
1 parent 19657fd commit 3e4818c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,20 @@ jobs:
162162
- name: Run tests without any features enabled (core-only)
163163
run: cargo test --verbose --no-default-features
164164

165+
# This job uses a target to build the memchr crate on x86-64 but *without*
166+
# SSE/AVX target features. This is relevant for virtually all OS kernels.
167+
build-for-x86-64-but-non-sse-target:
168+
runs-on: ubuntu-latest
169+
steps:
170+
- name: Checkout repository
171+
uses: actions/checkout@v3
172+
- name: Install Rust
173+
uses: dtolnay/rust-toolchain@master
174+
with:
175+
toolchain: stable
176+
targets: x86_64-unknown-none
177+
- run: cargo build --verbose --no-default-features --features alloc --target x86_64-unknown-none
178+
165179
# This job runs a stripped down version of CI to test the MSRV. The specific
166180
# reason for doing this is that dev-dependencies tend to evolve more quickly.
167181
# There isn't as tight of a control on them because, well, they're only used

0 commit comments

Comments
 (0)