|
11 | 11 | - main
|
12 | 12 |
|
13 | 13 | 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: |
15 | 33 | runs-on: ubuntu-20.04
|
16 | 34 | name: OTP ${{matrix.otp}}
|
17 | 35 | strategy:
|
18 | 36 | 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 |
21 | 41 |
|
| 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] |
22 | 54 | steps:
|
23 | 55 | - name: Install Emacs
|
24 | 56 | uses: purcell/setup-emacs@master
|
25 | 57 | with:
|
26 |
| - version: ${{matrix.emacs}} |
| 58 | + version: ${{env.emacs}} |
27 | 59 |
|
28 | 60 | - name: Install Erlang
|
29 | 61 | id: install_erlang
|
30 |
| - uses: sebastiw/setup-erlang@main |
| 62 | + uses: erlef/setup-beam@v1 |
31 | 63 | with:
|
32 | 64 | otp-version: ${{matrix.otp}}
|
| 65 | + rebar3-version: ${{env.rebar3}} |
| 66 | + install-hex: false |
33 | 67 |
|
34 | 68 | - name: Add Erlang to Path
|
35 | 69 | run: |
|
|
0 commit comments