Skip to content

Commit b98fb7b

Browse files
committed
Setup GitHub Actions
Signed-off-by: Matteo Cafasso <[email protected]>
1 parent e859760 commit b98fb7b

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/action.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: build
2+
on: [push, pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
erlang:
9+
- 1:23.3.4.5-1
10+
- 1:24.1.5-1
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: Install Erlang
14+
run: |
15+
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
16+
sudo dpkg -i erlang-solutions_2.0_all.deb
17+
sudo apt update
18+
sudo apt install -y --allow-downgrades esl-erlang=${{ matrix.erlang }}
19+
- name: Install Elixir
20+
run: |
21+
sudo apt install -y elixir
22+
- name: Run tests
23+
run: |
24+
make tests

0 commit comments

Comments
 (0)