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 = { let OTP_Versions = {
latest: [24.0] latest: [24.0]
all: [18.3, 19.3, 20.3, 21.3, 22.3, 23.3, 24.0] // Older versions than 22.3 use Debian stretch, and it only has libsodium 0.18
test: [20.3, 21.3] // 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" name: "build"
@ -18,8 +20,8 @@ jobs: ci: {
"runs-on": "${{matrix.os}}" "runs-on": "${{matrix.os}}"
container: image: "erlang:${{matrix.otp_vsn}}" container: image: "erlang:${{matrix.otp_vsn}}"
strategy: matrix: { strategy: matrix: {
otp_vsn: OTP_Versions.test otp_vsn: OTP_Versions.all
os: ["ubuntu-latest"] // os: ["ubuntu-latest"] // This is somewhat of a lie.
} }
steps: [ steps: [
{uses: "actions/checkout@v2"}, {uses: "actions/checkout@v2"},

View File

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