forked from blt/port_compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c82a9e8
commit 3548861
Showing
3 changed files
with
40 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: Erlang CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- openriak-3.2 | ||
pull_request: | ||
branches: | ||
- openriak-3.2 | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
name: Test on ${{ matrix.os }} with OTP ${{ matrix.otp }} | ||
runs-on: ${{ matrix.os }} | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
otp: [24, 26] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: lukka/get-cmake@latest | ||
- uses: actions/checkout@v4 | ||
- name: Install Erlang/OTP | ||
uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: ${{ matrix.otp }} | ||
- name: Compile | ||
run: ./rebar3 compile | ||
- name: Run xref only (dilayzer issues with rebar dependency) | ||
run: ./rebar3 do xref | ||
- name: Run eunit | ||
run: ./rebar3 as gha do eunit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters