diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed8813f3b..a5756a387 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,13 +39,13 @@ jobs: run: cargo check --all --all-features - name: Run cargo clippy run: cargo clippy --all --all-features -- -D warnings - - name: Run cargo test on non-macos - if: ${{ matrix.platforms.os != 'macos-13' }} + - name: Run cargo test on Linux + if: ${{ matrix.platforms.os == 'ubuntu-22.04' }} run: cargo test --all --all-features - - name: Run cargo test on macos + - name: Run cargo test on non LInux env: # this is a bit counter intuitive - some tests relies on Docker to run and are marked not(ci), but macos runner doesn't have Docker installed, so we make it "ci" to bypass those tests CLASH_RS_CI: 'true' - if: ${{ matrix.platforms.os == 'macos-13' }} + if: ${{ matrix.platforms.os != 'ubuntu-22.04' }} run: cargo test --all --all-features - name: Build artifacts run: sh ./scripts/build.sh "${{ matrix.platforms.target }}" "${{ matrix.static }}"