Skip to content

Commit

Permalink
Make sure we install valgrind on ubuntu and only test on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Mar 4, 2025
1 parent 739b3e2 commit d4b65dd
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,9 @@ jobs:
check-all-features:
name: Check all the features of the heed project
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
- os: macos-latest
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -108,20 +102,15 @@ jobs:
# Skip it if the CI is running with the heed3 Cargo.toml
if: ${{ steps.check_toml.outputs.should_skip == 'false' }}
run: |
apt install -y valgrind
cargo clean
cargo check --all-features -p heed
check-all-features-heed3:
name: Check all the features of the heed3 project
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
env:
RUSTFLAGS: -D warnings
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
- os: macos-latest
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -133,6 +122,7 @@ jobs:
override: true
- name: Run cargo test
run: |
apt install -y valgrind
cargo clean
bash convert-to-heed3.sh
cargo check --all-features -p heed3
Expand Down

0 comments on commit d4b65dd

Please sign in to comment.