Skip to content

Commit

Permalink
Run CI on windows-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
chitoku-k committed Dec 9, 2024
1 parent f090456 commit cb2c7de
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,20 @@ jobs:
test:
strategy:
matrix:
targets:
- os: ubuntu-latest
toolchain: stable
- os: windows-latest
toolchain: stable-x86_64-pc-windows-gnu
features:
- --features=cli
- --features=server
- --features=cli,server
name: Test
runs-on: ubuntu-latest
runs-on: ${{ matrix.targets.os }}
defaults:
run:
shell: bash
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -29,6 +37,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
components: clippy
toolchain: ${{ matrix.targets.toolchain }}
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
with:
Expand All @@ -38,6 +47,7 @@ jobs:
cargo test --workspace --all-features
- name: Run clippy
uses: sksat/[email protected]
if: ${{ runner.os == 'Linux' }}
with:
reporter: github-check
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit cb2c7de

Please sign in to comment.