24 lines
510 B
CUE
24 lines
510 B
CUE
name: "build"
|
|
on: {
|
|
push: branches: [
|
|
"master",
|
|
]
|
|
pull_request: branches: [
|
|
"master",
|
|
]
|
|
}
|
|
jobs: ci: {
|
|
name: "Run checks and tests over ${{matrix.otp_vsn}} and ${{matrix.os}}"
|
|
"runs-on": "${{matrix.os}}"
|
|
container: image: "erlang:${{matrix.otp_vsn}}"
|
|
strategy: matrix: {
|
|
otp_vsn: [18.3, 19.3, 20.3, 21.3, 22.3, 23.3, 24.0]
|
|
os: ["ubuntu-latest"]
|
|
}
|
|
steps: [
|
|
{uses: "actions/checkout@v2"},
|
|
{run: "sudo apt get instal libsodium-dev"},
|
|
{run: "make compile"},
|
|
{run: "make tests"}]
|
|
}
|