From b5cfd3616f067c13cbbce29202f1b61617419be4 Mon Sep 17 00:00:00 2001 From: konsti Date: Thu, 25 Jan 2024 09:38:16 +0100 Subject: [PATCH] Add basic windows CI (clippy only) (#1080) Add basic windows (clippy only), until cargo test passes and we can merge it with the cargo-test job above. --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52c2d631c..ac793a057 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,7 @@ jobs: name: "cargo test | ${{ matrix.os }}" steps: - uses: actions/checkout@v4 - - name: "Install Python" + - name: "Install Pythons" uses: actions/setup-python@v4 with: python-version: | @@ -75,4 +75,26 @@ jobs: with: save-if: ${{ github.ref == 'refs/heads/main' }} - name: "Tests" - run: cargo nextest run --all --all-features --status-level skip --failure-output immediate-final --no-fail-fast -j 12 + run: cargo nextest run --workspace --all-features --status-level skip --failure-output immediate-final --no-fail-fast -j 12 + + # TODO(konstin): Merge with the cargo-test job once the tests pass + windows: + runs-on: windows-latest + name: "cargo check | windows" + steps: + - uses: actions/checkout@v4 + - name: "Install Rust toolchain" + run: rustup component add clippy + - name: "Install Pythons" + uses: actions/setup-python@v4 + with: + python-version: | + 3.7 + 3.8 + 3.9 + 3.10 + 3.11 + 3.12 + - uses: rui314/setup-mold@v1 + - uses: Swatinem/rust-cache@v2 + - run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings