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