Skip to content

Commit

Permalink
Add Windows to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vkatsuba committed Nov 1, 2021
1 parent e6fed93 commit 65fa146
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,37 @@ 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
- name: Format check
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

0 comments on commit 65fa146

Please sign in to comment.