-
Notifications
You must be signed in to change notification settings - Fork 34
33 lines (33 loc) · 1001 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
erlang:
- 1:25.3-1
elixir:
- 1.13.4-1
rmqref:
- v3.12.x
steps:
- uses: actions/checkout@v2
- name: Install Erlang and Elixir
run: |
wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
sudo dpkg -i erlang-solutions_2.0_all.deb
sudo apt update
sudo apt install -y --allow-downgrades esl-erlang=${{ matrix.erlang }} elixir=${{ matrix.elixir }}
- name: Run tests
run: |
make current_rmq_ref=${{ matrix.rmqref }}
make tests current_rmq_ref=${{ matrix.rmqref }}
- name: Build distribution files
run: |
DIST_AS_EZS=yes make dist current_rmq_ref=${{ matrix.rmqref }}
- name: Store build artifacts
uses: actions/upload-artifact@v3
with:
name: plugins
path: plugins/