From 1b8318ca47482909be6efecfd6412d5ab7c3c686 Mon Sep 17 00:00:00 2001 From: zmstone Date: Wed, 9 Oct 2024 12:36:45 +0200 Subject: [PATCH] GitHub Actions --- .github/workflows/main.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..2ef6367 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,26 @@ +--- +name: build +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + ci: + name: CI + runs-on: ${{matrix.os}} + strategy: + fail-fast: false + matrix: + otp: [25, 26, 27] + os: [ubuntu-latest] + steps: + - uses: actions/checkout@v3 + - uses: erlef/setup-beam@v1 + with: + otp-version: ${{matrix.otp}} + rebar3-version: 3.20.0 + - run: | + rebar3 eunit