From 9ddee01917ebe37ad16b2fc79c85dea578c83b4a Mon Sep 17 00:00:00 2001 From: Anton Bachin Date: Sat, 6 Nov 2021 18:14:13 +0300 Subject: [PATCH] CI: move from AppVeyor to GitHub Actions --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 80cc9390..480b075c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,6 +48,8 @@ jobs: # ocamlformat 0.16.0, used in testing, doesn't support OCaml 4.13, and # we are using a Linux binary of it. So, hold the Mac build back to # 4.12 for now, and install ocamlformat from opam on Mac. + - os: windows-latest + ocaml: 4.12.1 runs-on: ${{matrix.os}} steps: @@ -69,7 +71,8 @@ jobs: opam exec -- ocamlformat --version - run: opam exec -- make build - - run: | + - if: ${{runner.os != 'Windows'}} + run: | case `opam exec -- ocamlc -version` in "4.07.1") TEST_ALIAS=@compatible;; "4.06.1") TEST_ALIAS=@compatible;;