Skip to content

Commit

Permalink
GitHub CI: Test the unnamed-tmpfile on Linux explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
andreacorbellini committed Apr 24, 2024
1 parent 042261c commit bd9c207
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ env:

jobs:
cargo-test-linux:
name: Build and Test (Linux${{ contains(matrix.target, 'musl') && ', musl' || '' }})
name: Build and Test (Linux${{ contains(matrix.target, 'musl') && ', musl' || '' }}${{ matrix.features != 'default' && format(', {0}', matrix.features) || '' }})
runs-on: ubuntu-latest
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- x86_64-unknown-linux-musl
features:
- default
- unnamed-tmpfile
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
Expand All @@ -25,7 +28,7 @@ jobs:
- name: Build and Test
run: |
export TEST_DIR=$RUNNER_TEMP
cargo test --target ${{ matrix.target }} --release --verbose
cargo test --target ${{ matrix.target }} --features ${{ matrix.features }} --release --verbose
- name: Lint
run: |
cargo clippy --all-targets
Expand Down

0 comments on commit bd9c207

Please sign in to comment.