Skip to content

Commit 9da7ce9

Browse files
committed
Try updated github erlef/setup-beam action
1 parent 5c3cded commit 9da7ce9

File tree

1 file changed

+39
-5
lines changed

1 file changed

+39
-5
lines changed

.github/workflows/test.yaml

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,59 @@ on:
1111
- main
1212

1313
jobs:
14-
test:
14+
# Supported versions is rather complex:
15+
#
16+
# ubuntu-18.04: OTP_VERSION=17.0 - 25.3
17+
# ubuntu-20.04: OTP_VERSION=21.0 - 27
18+
# ubuntu-22.04: OTP_VERSION=24.2 - 27
19+
# ubuntu-24.04: OTP_VERSION=24.3 - 27
20+
#
21+
# OTP-26) REBAR3_VERSION="3.22.1"
22+
# OTP-25) REBAR3_VERSION="3.22.1"
23+
# OTP-24) REBAR3_VERSION="3.16.1"
24+
# OTP-23) REBAR3_VERSION="3.16.1"
25+
# OTP-22) REBAR3_VERSION="3.16.1"
26+
# OTP-21) REBAR3_VERSION="3.15.2"
27+
# OTP-20) REBAR3_VERSION="3.15.2"
28+
# OTP-19) REBAR3_VERSION="3.15.2"
29+
# OTP-18) REBAR3_VERSION="3.11.1"
30+
# OTP-17) REBAR3_VERSION="3.10.0"
31+
32+
test_r3_3_16_1:
1533
runs-on: ubuntu-20.04
1634
name: OTP ${{matrix.otp}}
1735
strategy:
1836
matrix:
19-
otp: [22.3.4.9, 23.3.4.5, 24.3.3, 25.3]
20-
emacs: [27.1] # 24.5, 26.3,
37+
otp: [22.3.4.9, 23.3.4.5, 24.3.3]
38+
env:
39+
emacs: 27.1
40+
rebar3: 3.16.1
2141

42+
# test_r3_3_22_1:
43+
# runs-on: ubuntu-20.04
44+
# name: OTP ${{matrix.otp}}
45+
# strategy:
46+
# matrix:
47+
# otp: [25.3, 26.3, 27.0]
48+
# env:
49+
# emacs: 27.1
50+
# rebar3: 3.22.1
51+
52+
test:
53+
needs: [test_r3_3_16_1]
2254
steps:
2355
- name: Install Emacs
2456
uses: purcell/setup-emacs@master
2557
with:
26-
version: ${{matrix.emacs}}
58+
version: ${{env.emacs}}
2759

2860
- name: Install Erlang
2961
id: install_erlang
30-
uses: sebastiw/setup-erlang@main
62+
uses: erlef/setup-beam@v1
3163
with:
3264
otp-version: ${{matrix.otp}}
65+
rebar3-version: ${{env.rebar3}}
66+
install-hex: false
3367

3468
- name: Add Erlang to Path
3569
run: |

0 commit comments

Comments
 (0)