Skip to content

Commit 73a32c3

Browse files
committed
Run OTP versions which rely on ancient OpenSSL versions in container
1 parent 5f7dec9 commit 73a32c3

File tree

1 file changed

+65
-56
lines changed

1 file changed

+65
-56
lines changed

.github/workflows/ci.yml

Lines changed: 65 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -15,83 +15,33 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- elixir: 1.4.x
19-
otp: 20
20-
os: ubuntu-22.04
21-
gcc: gcc-10
22-
gpp: g++-10
23-
- elixir: 1.5.x
24-
otp: 20
25-
os: ubuntu-22.04
26-
gcc: gcc-10
27-
gpp: g++-10
28-
- elixir: 1.6.x
29-
otp: 20
30-
os: ubuntu-22.04
31-
gcc: gcc-10
32-
gpp: g++-10
33-
- elixir: 1.7.x
34-
otp: 20
35-
os: ubuntu-22.04
36-
gcc: gcc-10
37-
gpp: g++-10
38-
- elixir: 1.8.x
39-
otp: 20
40-
os: ubuntu-22.04
41-
gcc: gcc-10
42-
gpp: g++-10
43-
- elixir: 1.9.x
44-
otp: 20
45-
os: ubuntu-22.04
46-
gcc: gcc-10
47-
gpp: g++-10
48-
- elixir: 1.10.x
49-
otp: 21
50-
os: ubuntu-22.04
51-
gcc: gcc-10
52-
gpp: g++-10
53-
- elixir: 1.11.x
54-
otp: 22
55-
os: ubuntu-22.04
56-
gcc: gcc-10
57-
gpp: g++-10
58-
- elixir: 1.11.x
59-
otp: 23
60-
os: ubuntu-22.04
61-
gcc: gcc-10
62-
gpp: g++-10
63-
- elixir: 1.12.x
64-
otp: 23
65-
os: ubuntu-22.04
66-
gcc: gcc-10
67-
gpp: g++-10
6818
- elixir: 1.13.x
69-
otp: 24
19+
otp: 24.x
7020
os: ubuntu-22.04
7121
gcc: gcc-10
7222
gpp: g++-10
7323
- elixir: 1.14.x
74-
otp: 25
24+
otp: 25.x
7525
os: ubuntu-22.04
7626
gcc: gcc-11
7727
gpp: g++-11
7828
- elixir: 1.15.x
79-
otp: 26
29+
otp: 26.x
8030
os: ubuntu-22.04
8131
gcc: gcc-11
8232
gpp: g++-11
8333
- elixir: 1.16.x
84-
otp: 26
34+
otp: 26.x
8535
os: ubuntu-22.04
8636
gcc: gcc-11
8737
gpp: g++-11
8838
- elixir: 1.17.x
89-
otp: 27
39+
otp: 27.x
9040
os: ubuntu-24.04
9141
gcc: gcc-13
9242
gpp: g++-13
9343
- elixir: 1.18.x
94-
otp: 27
44+
otp: 27.x
9545
os: ubuntu-latest
9646
gcc: gcc-13
9747
gpp: g++-13
@@ -126,6 +76,65 @@ jobs:
12676
env:
12777
CC: ${{matrix.gcc}}
12878
CXX: ${{matrix.gpp}}
79+
mix_test_even_older:
80+
name: mix test (Elixir ${{matrix.elixir}} | OTP ${{matrix.otp}})
81+
runs-on: ubuntu-latest
82+
container:
83+
image: ubuntu:focal-20250404
84+
env:
85+
MIX_ENV: test
86+
strategy:
87+
fail-fast: false
88+
matrix:
89+
include:
90+
- elixir: 1.4.x
91+
otp: 20.x
92+
- elixir: 1.5.x
93+
otp: 20.x
94+
- elixir: 1.6.x
95+
otp: 20.x
96+
- elixir: 1.7.x
97+
otp: 20.x
98+
- elixir: 1.8.x
99+
otp: 20.x
100+
- elixir: 1.9.x
101+
otp: 20.x
102+
- elixir: 1.10.x
103+
otp: 21.x
104+
- elixir: 1.11.x
105+
otp: 22.x
106+
- elixir: 1.11.x
107+
otp: 23.x
108+
- elixir: 1.12.x
109+
otp: 23.x
110+
steps:
111+
- uses: actions/checkout@v2
112+
- uses: erlef/setup-beam@v1
113+
with:
114+
otp-version: ${{matrix.otp}}
115+
elixir-version: ${{matrix.elixir}}
116+
- name: Install Dependencies
117+
run: |
118+
mix local.hex --force
119+
mix local.rebar --force
120+
mix deps.get --only test
121+
- name: Cache build artifacts
122+
uses: actions/cache@v3
123+
with:
124+
path: |
125+
~/.hex
126+
~/.mix
127+
_build
128+
key: ${{ matrix.otp }}-${{ matrix.elixir }}-build
129+
- run: mix compile --warnings-as-errors
130+
if: matrix.warnings_as_errors
131+
env:
132+
CC: gcc-10
133+
CXX: g++-10
134+
- run: mix test
135+
env:
136+
CC: gcc-10
137+
CXX: g++-10
129138
dialyzer:
130139
name: mix dialyzer
131140
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)