From 65fa146b73f13316f8330f1a88cc89914795d0ba Mon Sep 17 00:00:00 2001 From: vk Date: Mon, 1 Nov 2021 17:53:33 +0200 Subject: [PATCH] Add Windows to CI --- .github/workflows/ci.yaml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 24d7786..b48a2d4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,11 +16,13 @@ jobs: strategy: matrix: otp: [23.3, 24.1] - fail-fast: false - container: - image: erlang:${{ matrix.otp }} + rebar: [3.17.0] steps: - uses: actions/checkout@v2 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + rebar3-version: ${{matrix.rebar}} - name: Bootstrap if: always() run: ./bootstrap @@ -28,3 +30,23 @@ jobs: run: rebar3 format --verify - name: Tests run: rebar3 test + + windows: + name: "Windows" + runs-on: windows-latest + strategy: + matrix: + otp: [23.3, 24.1] + rebar: [3.17.0] + steps: + - uses: actions/checkout@v2 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + rebar3-version: ${{matrix.rebar}} + - name: Bootstrap + if: always() + shell: cmd + run: sh bootstrap + - name: Tests + run: rebar3 test