Skip to content

Commit

Permalink
Older Erlang builds?
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Aug 31, 2024
1 parent 70a61a5 commit 96df5db
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:

builds:
name: Erlang ${{ matrix.otp_version }} build
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

strategy:
matrix:
otp_version: ['22', '23', '24', '25', '26', '27']
otp_version: ['27', '26', '25', '24']

steps:
- uses: actions/checkout@v4
Expand All @@ -30,5 +30,26 @@ jobs:
run: rebar3 compile
- name: Xref Checks
run: rebar3 xref
- name: Run Common Tests
run: rebar3 ct -v

old-builds:
name: Erlang ${{ matrix.otp_version }} build
runs-on: ubuntu-20.04

strategy:
matrix:
otp_version: ['23', '22', '21']

steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.15'
- name: Compile
run: rebar3 compile
- name: Xref Checks
run: rebar3 xref
- name: Run Common Tests
run: rebar3 ct -v
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ $ rebar3 oscmd sync
[logo-large]: priv/images/logo-large.png
[gh-actions-badge]: https://github.com/erlsci/rebar3_oscmd/workflows/ci%2Fcd/badge.svg
[gh-actions]: https://github.com/erlsci/rebar3_oscmd/actions
[erlang-badge]: https://img.shields.io/badge/erlang-21%20to%2025-blue.svg
[erlang-badge]: https://img.shields.io/badge/erlang-22%20to%2027-blue.svg
[versions]: https://github.com/erlsci/rebar3_oscmd/blob/main/rebar.config
[github-tags]: https://github.com/erlsci/rebar3_oscmd/tags
[github-tags-badge]: https://img.shields.io/github/tag/erlsci/rebar3_oscmd.svg

0 comments on commit 96df5db

Please sign in to comment.