Skip to content

Commit

Permalink
Added Erlang 27.
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Sep 3, 2024
1 parent 32ba0c9 commit 6f6dc80
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,71 @@ on:

jobs:

newer-builds:
name: Erlang ${{ matrix.otp-version }} build
runs-on: ubuntu-latest

strategy:
matrix:
otp-version: ['27']

steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.otp-version }}
rebar3-version: '3.24'
- name: Check rebar3 Version
run: DEBUG=1 rebar3 --version
- name: Compile
run: rebar3 compile
# - name: Xref Checks
# run: rebar3 xref
# - name: Dialyzer
# run: rebar3 dialyzer
- name: Run Unit Tests
run: rebar3 as test eunit
- name: Run Proper Tests
run: rebar3 as test do proper -c
- name: Check Coverage
run: rebar3 as test cover -v --min_coverage=0
- name: Get Supported 'new' Templates
run: cd priv/testing && rebar3 new
- name: Create LFE Library Project
run: cd priv/testing && rebar3 new lfe-lib example-lib
- name: Compile LFE Library Project
run: cd priv/testing/example-lib && DEBUG=1 rebar3 lfe compile
- name: Create LFE Main Project
run: cd priv/testing && rebar3 new lfe-main example-main
- name: Run LFE Main Project's Script
run: cd priv/testing/example-main && rebar3 lfe run -- 42
- name: Create LFE/OTP Application Project
run: cd priv/testing && rebar3 new lfe-app example-app
- name: Compile LFE Application Project
run: cd priv/testing/example-app && DEBUG=1 rebar3 lfe compile
- name: Create LFE escript Project
run: cd priv/testing && rebar3 new lfe-escript example-escript
- name: Escriptize LFE escript Project
run: cd priv/testing/example-escript && rebar3 lfe escriptize
- name: Run LFE escript Project
run: cd priv/testing/example-escript && rebar3 lfe run-escript 1 2 5
- name: Create LFE/OTP Release Project
run: cd priv/testing && rebar3 new lfe-release example-release
- name: Build LFE/OTP Release
run: cd priv/testing/example-release && rebar3 release
# XXX Startup keeps hanging in Github Actions ... probably need to do somehting
# different.
# - name: Start LFE/OTP Release
# run: cd priv/testing/example-release && rebar3 lfe run-release start && sleep 5
# - name: Ping LFE/OTP Release
# run: cd priv/testing/example-release && rebar3 lfe run-release ping
- name: Versions Command Output
run: cd priv/testing/example-release && rebar3 lfe versions
- name: Clean Command
run: cd priv/testing/example-lib && rebar3 lfe clean
- name: Clean-build Command
run: cd priv/testing/example-app && rebar3 lfe clean-build

builds:
name: Erlang ${{ matrix.otp-version }} build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 6f6dc80

Please sign in to comment.