Change CI

This commit is contained in:
Louis Dureuil 2024-01-09 13:25:31 +01:00
parent 66ae81a909
commit 1b90778bf5
No known key found for this signature in database

View File

@ -82,7 +82,7 @@ jobs:
args: --locked --release --all args: --locked --release --all
test-all-features: test-all-features:
name: Tests all features name: Tests almost all features
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
# Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations # Use ubuntu-18.04 to compile with glibc 2.27, which are the production expectations
@ -98,16 +98,12 @@ jobs:
with: with:
toolchain: stable toolchain: stable
override: true override: true
- name: Run cargo build with all features - name: Run cargo build with almost all features
uses: actions-rs/cargo@v1 run: |
with: cargo build --workspace --locked --release --features "$(cargo xtask list-features --exclude-feature cuda)"
command: build - name: Run cargo test with almost all features
args: --workspace --locked --release --all-features run: |
- name: Run cargo test with all features cargo test --workspace --locked --release --features "$(cargo xtask list-features --exclude-feature cuda)"
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --locked --release --all-features
test-disabled-tokenization: test-disabled-tokenization:
name: Test disabled tokenization name: Test disabled tokenization