Skip to content

Commit

Permalink
Updated CI/CD.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Jan 13, 2025
1 parent 354fd31 commit c3a6608
Showing 1 changed file with 63 additions and 22 deletions.
85 changes: 63 additions & 22 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,56 +12,97 @@ on:

jobs:

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

strategy:
matrix:
otp_version: ['24.3', '25.3', '26.1']
otp_version: ['27']

steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.24'
- name: Install Deps
run: sudo apt-get update && sudo apt-get install -y gnuplot
- name: Compile
run: rebar3 compile
- name: Xref Checks
run: rebar3 xref
- name: Dialyzer
run: rebar3 dialyzer
- name: Proper Tests
run: rebar3 as test do compile, proper --regressions
# - name: Run Tests
# run: rebar3 ct -c
- name: Run Unit Tests
run: rebar3 as test lfe ltest -tall
# - name: Test Coverage
# run: rebar3 as test do proper -c, cover -v --min_coverage=0

stable-builds:
name: Erlang ${{ matrix.otp_version }} build
runs-on: ubuntu-24.04

strategy:
matrix:
otp_version: ['26', '25', '24']

steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.22'
- name: Check rebar3 Version
run: rebar3 --version
- name: Install Deps
run: sudo apt-get update && sudo apt-get install -y gnuplot
- name: Compile
run: rebar3 compile
- name: Xref Checks
run: rebar3 xref
# - name: Dialyzer
# run: rebar3 dialyzer
- name: Run Tests
run: rebar3 as test do compile,lfe ltest -tall
- name: Test Coverage
run: rebar3 as test do proper -c, cover -v --min_coverage=0
- name: Dialyzer
run: rebar3 dialyzer
- name: Proper Tests
run: rebar3 as test do compile, proper --regressions
# - name: Run Tests
# run: rebar3 ct -c
- name: Run Unit Tests
run: rebar3 as test lfe ltest -tall
# - name: Test Coverage
# run: rebar3 as test do proper -c, cover -v --min_coverage=0

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

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

steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp_version }}
rebar3-version: '3.15'
- name: Check rebar3 Version
run: rebar3 --version
- name: Install Deps
run: sudo apt-get update && sudo apt-get install -y gnuplot
- name: Compile
run: rebar3 compile
- name: Xref Checks
run: rebar3 xref
# - name: Dialyzer
# run: rebar3 dialyzer
- name: Run Tests
run: rebar3 as test do compile,lfe ltest -tall
- name: Test Coverage
run: rebar3 as test do proper -c, cover -v --min_coverage=0
- name: Dialyzer
run: rebar3 dialyzer
- name: Compile Tests
run: rebar3 as test compile
- name: Proper Tests
run: rebar3 as test proper --regressions
# - name: Run Tests
# run: rebar3 ct -c
- name: Run Unit Tests
run: rebar3 as test lfe ltest -tall
# - name: Test Coverage
# run: rebar3 as test do proper -c, cover -v --min_coverage=0

0 comments on commit c3a6608

Please sign in to comment.