From 190d759dfcc252eb386e315dae1bd6e2ddc4c162 Mon Sep 17 00:00:00 2001 From: Jonathan De Wachter Date: Sun, 23 Jun 2024 06:34:49 +0800 Subject: [PATCH] Add .github/workflows/workflow.yml --- .github/workflows/workflow.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 0000000..793071d --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,27 @@ +name: Library + +on: + push: + branches: ["master"] + pull_request: + branches: ["master"] + +jobs: + build: + strategy: + matrix: + erlang: [24, 25] + + runs-on: ubuntu-latest + container: + image: erlang:${{ matrix.erlang }} + + steps: + - name: Get the source code + uses: actions/checkout@v4 + + - name: Build the library + run: make + + - name: Run the regression tests + run: make eunit