From 3fa305c53923ed087a14a97bdf27a7c1777aedc7 Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Sat, 7 Sep 2019 11:50:44 +0200 Subject: Test on Windows --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 -- cgit v1.2.3