From 557d7be76b91fee11f50f70462ed0524a4632209 Mon Sep 17 00:00:00 2001 From: Roberto Aloi Date: Fri, 13 Dec 2019 08:01:43 +0100 Subject: [PATCH] [#305] Create build.yml to try GitHub Actions on Windows --- .github/workflows/build.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..2c31669b6 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,29 @@ +name: Erlang CI + +on: [push] + +jobs: + + build: + + strategy: + matrix: + platform: [ubuntu-latest, macos-latest, windows-latest] + + runs-on: ${{ matrix.platform }} + + container: + image: erlang:22.0.7 + + steps: + - uses: actions/checkout@v1 + - name: Compile + run: rebar3 compile + - name: Run CT Tests + run: rebar3 ct + - name: Run PropEr Tests + run: rebar3 proper --cover --constraint_tries 100 + - name: Run Checks + run: rebar3 dialyzer xref + - name: Create Cover Reports + run: rebar3 do cover coveralls send