summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Wiesner <sebastian@swsnr.de>2019-09-07 11:50:44 +0200
committerSebastian Wiesner <sebastian@swsnr.de>2019-09-07 11:52:54 +0200
commit3fa305c53923ed087a14a97bdf27a7c1777aedc7 (patch)
tree5f3caca46d415908b564486600ab103c63ff2790
parentae7d57e5cf01eec9ca9d46d654f9772cd8474c12 (diff)
Test on Windows
-rw-r--r--.github/workflows/ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0bfa6cc..89e631f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -87,3 +87,18 @@ jobs:
run: cargo test --no-default-features --features iterm2,remote_resources
- name: Format sample
run: cargo run --no-default-features --features iterm2,remote_resources -- sample/common-mark.md
+ test_windows:
+ runs-on: windows-latest
+ steps:
+ # Setup rust version
+ - uses: hecrj/setup-rust-action@v1
+ with:
+ rust-version: stable
+ - name: Setup target
+ run: rustup target add x86_64-pc-windows-mscv
+ # Test code
+ - uses: actions/checkout@v1
+ - name: Test
+ run: cargo test --target x86_64-pc-windows-mscv --no-default-features
+ - name: Format sample
+ run: cargo run --target x86_64-pc-windows-mscv --no-default-features