This commit is contained in:
Jesper Louis Andersen
2021-06-15 14:24:45 +02:00
parent 3d9cc841eb
commit 0b8abb95d5
4 changed files with 60 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
all:
cue export --out yaml ci.cue > ci.yaml
+23
View File
@@ -0,0 +1,23 @@
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"}]
}
+31
View File
@@ -0,0 +1,31 @@
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