From 684879f64475bdde74ab2827a39879b17ae2fbb9 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 9 May 2020 10:10:38 -0600 Subject: [PATCH] add macos and windows test runs to github workflow --- .github/workflows/main.yml | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1ceeea8e..7aba218d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: - 'master' jobs: - build: + linux: name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }} runs-on: ${{ matrix.os }} @@ -27,3 +27,29 @@ jobs: run: ./bootstrap - name: CT tests run: ./rebar3 ct + + macos: + name: Test on MacOS + runs-on: macos-latest + + steps: + - uses: actions/checkout@v2 + - name: Install Erlang + run: brew install erlang + - name: Compile + run: ./bootstrap + - name: CT tests + run: ./rebar3 ct + + windows: + name: Test on Windows + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + - name: Install Erlang + run: choco install erlang + - name: Compile + run: cmd.exe /c 'bootstrap.bat' + - name: CT tests + run: cmd.exe /c 'rebar3.cmd ct'