Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Yuwei Ba <[email protected]>
  • Loading branch information
ibigbug authored Mar 28, 2024
1 parent 8a3c446 commit d576131
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit d576131

Please sign in to comment.