This commit is contained in:
Jesper Louis Andersen 2021-06-15 15:10:13 +02:00
parent f8bd7f3565
commit 8ac26c8161
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,9 @@
let OTP_Versions = {
latest: [24.0]
all: [18.3, 19.3, 20.3, 21.3, 22.3, 23.3, 24.0]
test: [20.3, 21.3]
// Older versions than 22.3 use Debian stretch, and it only has libsodium 0.18
// In turn, we can't compile for the newer libsodium functions on this image,
// and it fails. Hence these versions.
all: [22.3, 23.3, 24.0]
}
name: "build"
@ -18,8 +20,8 @@ jobs: ci: {
"runs-on": "${{matrix.os}}"
container: image: "erlang:${{matrix.otp_vsn}}"
strategy: matrix: {
otp_vsn: OTP_Versions.test
os: ["ubuntu-latest"]
otp_vsn: OTP_Versions.all
// os: ["ubuntu-latest"] // This is somewhat of a lie.
}
steps: [
{uses: "actions/checkout@v2"},

View File

@ -15,10 +15,9 @@ jobs:
strategy:
matrix:
otp_vsn:
- 20.3
- 21.3
os:
- ubuntu-latest
- 22.3
- 23.3
- 24.0
steps:
- uses: actions/checkout@v2
- name: Update apt-get database