From 49e8acf8399a224e271e4f3d66e82c2cbf975b2d Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Sat, 11 Nov 2023 05:41:38 -0600 Subject: [PATCH] Windows CI --- .github/workflows/ci_linux.yml | 2 +- .github/workflows/ci_windows.yml | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/ci_windows.yml diff --git a/.github/workflows/ci_linux.yml b/.github/workflows/ci_linux.yml index 1d8cc231..50be5f09 100644 --- a/.github/workflows/ci_linux.yml +++ b/.github/workflows/ci_linux.yml @@ -1,4 +1,4 @@ -name: CI +name: CI Linux on: push: diff --git a/.github/workflows/ci_windows.yml b/.github/workflows/ci_windows.yml new file mode 100644 index 00000000..6211c5b2 --- /dev/null +++ b/.github/workflows/ci_windows.yml @@ -0,0 +1,27 @@ +name: CI Windows + +on: + push: + branches: [main] + pull_request: + branches: [main] + +env: + CARGO_TERM_COLOR: always + CARGO_INCREMENTAL: 0 + +jobs: + test: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: 1.70.0 + profile: minimal + override: true + components: rustfmt, clippy + - uses: Swatinem/rust-cache@v2 + - run: make test + - run: make fix + - run: git diff HEAD --exit-code --color