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 8b81b9e commit f64c147
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
submodules: recursive
- uses: ilammy/setup-nasm@v1
if : ${{ matrix.platforms.os }} == 'windows-2022'
if : ${{ matrix.platforms.os == 'windows-2022' }}
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
Expand All @@ -40,12 +40,12 @@ jobs:
- 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'
if: ${{ matrix.platforms.os != 'macos-13' }}
run: cargo test --all --all-features
env:
CLASH_RS_CI: 'true'
- name: Run cargo test on macos
if: ${{ matrix.platforms.os }} == 'macos-13'
if: ${{ matrix.platforms.os == 'macos-13' }}
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 f64c147

Please sign in to comment.