diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-07-06 14:31:56 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-07-06 14:31:56 +0800 |
commit | d0c362ae0f0f7ff4d49d899591c6cbb205e6b191 (patch) | |
tree | 6beef7ba3b1f83aae0db5dbb80c268614f07d890 /.github | |
parent | 0e760d733108a7e3a2153b4cee03f33ef13e5cd4 (diff) |
Add preliminary windows test for building
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/rust.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7a7515e..d5e2791 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,3 +26,24 @@ jobs: cargo diet -n --package-size-limit 30KB + build-and-test-on-windows: + name: Windows + runs-on: windows-latest + steps: + - uses: actions/checkout@v1 + - uses: actions-rs/toolchain@v1 + with: + profile: default + toolchain: stable + override: true + - name: "Check (crossterm)" + uses: actions-rs/cargo@v1 + with: + command: check + args: --all --bins --tests --examples + - name: "Test (crossterm)" + uses: actions-rs/cargo@v1 + with: + command: test + args: --all + |