Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 17 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,33 @@ env:
jobs:
check:
runs-on: ubuntu-latest
strategy:
matrix:
combo:
- otp-version: '25.2'
rebar3-version: '3.18.0'
- otp-version: '26.2'
rebar3-version: '3.23.0'
- otp-version: '27.2'
rebar3-version: '3.24.0'
- otp-version: '28.0'
rebar3-version: '3.25.0'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: webfactory/ssh-agent@v0.7.0
- uses: erlef/setup-beam@v1.18
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
otp-version: ${{ matrix.combo.otp-version }}
rebar3-version: ${{ matrix.combo.rebar3-version }}

- uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP-VERSION }}
rebar3-version: ${{ env.REBAR3-VERSION }}

- uses: actions/cache@v3.2.6
- uses: actions/cache@v4
id: rebar3-cache
with:
path: |
~/.cache/rebar3
_build
key: ${{ runner.os }}-${{ env.OTP-VERSION }}-${{ env.REBAR3-VERSION }}-${{ hashFiles('rebar.lock') }}
key: ${{ runner.os }}-${{ runner.arch }}-${{ matrix.combo.otp-version }}-${{ matrix.combo.rebar3-version }}-${{ hashFiles('rebar.lock') }}

- name: Compile
run: |
Expand Down
13 changes: 7 additions & 6 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,24 @@
{shell, [nuid]}.

{project_plugins, [
{erlfmt, {git, "git@github.com:WhatsApp/erlfmt.git", {branch, "main"}}},
{gradualizer, {git, "git@github.com:josefs/Gradualizer.git", {branch, "master"}}}
erlfmt,
{gradualizer, {git, "https://github.com/josefs/Gradualizer.git", {tag, "0.3.0"}}}
]}.

{erlfmt, [write]}.

{profiles, [
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [
{nct_util, {git, "git@github.com:nomasystems/nct_util.git", {branch, "main"}}},
{triq, {git, "git@github.com:nomasystems/triq.git", {branch, "master"}}}
{nct_util, {git, "https://github.com/nomasystems/nct_util.git", {branch, "main"}}},
{triq, {git, "https://github.com/nomasystems/triq.git", {branch, "master"}}}
]}
]},
{bench, [
{deps, [
{eflambe, {git, "git@github.com:Stratus3D/eflambe.git", {branch, "master"}}},
{erlperf, {git, "git@github.com:max-au/erlperf.git", {branch, "master"}}}
{eflambe, {git, "https://github.com/Stratus3D/eflambe.git", {branch, "master"}}},
{erlperf, {git, "https://github.com/max-au/erlperf.git", {branch, "master"}}}
]},
{extra_src_dirs, [{"bench", [{recursive, false}]}]}
]}
Expand Down