Added continuous integration for windows
@@ -9,11 +9,11 @@ on:
name: Continuous integration
jobs:
- check:
- name: Check
+ check_on_linux:
+ name: Check on Linux
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -22,11 +22,37 @@ jobs:
with:
command: check
- test:
- name: Test Suite
+ check_on_windows:
+ name: Check on Windows
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ override: true
+ - uses: actions-rs/cargo@v1
+ with:
+ command: check
+
+ test_on_linux:
+ name: Test Suite on Linux
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: stable
+ override: true
+ - uses: actions-rs/cargo@v1
+ with:
+ command: test
+
+ test_on_windows:
+ name: Test Suite on Windows
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -39,7 +65,7 @@ jobs:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
@@ -54,7 +80,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v1
+ - uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
