Skip to content

actions: build within RMQ folder #136

actions: build within RMQ folder

actions: build within RMQ folder #136

Workflow file for this run

name: build
on: [push, pull_request]
env:
PLUGIN_FOLDER: rabbitmq-server/deps/rabbitmq-message-deduplication
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
erlang:
- '26.2'
elixir:
- '1.16.3'
rmqref:
- v3.13.x
- v4.0.x
steps:
- name: Checkout RabbitMQ Server
uses: actions/checkout@v4
with:
repository: rabbitmq/rabbitmq-server
- name: Checkout Plugin
uses: actions/checkout@v4
with:
path: rabbitmq-server/deps
- name: Install Erlang and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang }}
elixir-version: ${{ matrix.elixir }}
- name: Run tests
working-directory: ${{ env.PLUGIN_FOLDER }}
run: |
make
make tests
- name: Build distribution files
working-directory: ${{ env.PLUGIN_FOLDER }}
run: |
DIST_AS_EZS=yes make dist
- name: Store build artifacts
uses: actions/upload-artifact@v3
with:
name: plugins
path: ${{ env.PLUGIN_FOLDER }}/plugins/