Skip to content

ci/cd

ci/cd #1171

Workflow file for this run

name: ci/cd
on:
workflow_dispatch:
push:
branches: [ master, release/*, task/*, feature/*, bugfix/*, develop]
pull_request:
branches: [ master, release/*, task/*, feature/*, bugfix/*, develop]
schedule:
- cron: "17 3 * * *"
jobs:
builds:
name: Erlang ${{ matrix.otp-version }} / ${{ matrix.os }} (build)
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
otp-version: ['27', '26', '25', '24', '23', '22']
os: ['ubuntu-24.04']
container:
image: erlang:${{ matrix.otp-version }}
steps:
- uses: actions/checkout@v4
- name: Erlang version check
run: erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'
- name: Rebar version check
run: rebar3 -v
- name: Compile (with rebar3)
run: rebar3 compile
- name: Run eunit Tests
run: make eunit
- name: Run proper Tests
run: make proper
- name: CT Suite Tests
run: make ct
installs:
name: Erlang ${{ matrix.otp-version }} / ${{ matrix.os }} (install)
needs: builds
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
otp-version: ['28', '27', '26', '25', '24', '23', '22']
os: ['ubuntu-24.04']
container:
image: erlang:${{ matrix.otp-version }}
steps:
- uses: actions/checkout@v4
- name: Erlang version check
run: erl -noshell -eval 'erlang:display(erlang:system_info(system_version))' -eval 'init:stop()'
- name: Compile (with make)
run: make compile
- name: Install
run: make install PREFIX=$(mktemp -d)