Skip to content

Commit

Permalink
ci: reintroduce x86-64 test for non-SSE environment
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kröning <[email protected]>
  • Loading branch information
mkroening committed Feb 26, 2024
1 parent 19657fd commit c45d89b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,21 @@ jobs:
- name: Run tests without any features enabled (core-only)
run: cargo test --verbose --no-default-features

# This job uses a target to build the memchr crate on x86-64 but *without*
# SSE/AVX target features. This is relevant for virtually all OS kernels.
build-for-x86-64-but-non-sse-target:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
targets: x86_64-unknown-none
- name: Run with only 'alloc' enabled
run: cargo build --verbose --no-default-features --features alloc --target x86_64-unknown-none

# This job runs a stripped down version of CI to test the MSRV. The specific
# reason for doing this is that dev-dependencies tend to evolve more quickly.
# There isn't as tight of a control on them because, well, they're only used
Expand Down

0 comments on commit c45d89b

Please sign in to comment.