From 5ee2332305110b13deed27338fc2aa0d9fe03e2b Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Sat, 30 May 2020 13:50:34 +0100 Subject: ci: build on windows --- .github/workflows/tests.yml | 30 ++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 31 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c0be05c..5d8236c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -78,3 +78,33 @@ jobs: run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh - name: Run tests run: wasm-pack test serde_dhall --node + + # Tests don't work because of path escaping shenanigans. I have a branch that + # will fix that but depends on https://github.com/LukasKalbertodt/libtest-mimic/pull/4 + test_windows: + name: Build on windows + # name: Run tests on windows + runs-on: windows-latest + strategy: + matrix: + rust: + - stable + steps: + - name: Checkout branch + uses: actions/checkout@master + with: + submodules: true + - name: Setup Rust toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + - name: Build + uses: actions-rs/cargo@v1 + with: + command: build + # - name: Run tests + # uses: actions-rs/cargo@v1 + # with: + # command: test diff --git a/README.md b/README.md index 7b370ff..696e4db 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,7 @@ same name as the corresponding test. #### [Unreleased] +- Support building on Windows - Support building to wasm #### [0.5.2] - 2020-04-12 -- cgit v1.2.3