Skip to content

Commit

Permalink
actions: build within RMQ folder
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Cafasso <[email protected]>
  • Loading branch information
noxdafox committed Oct 20, 2024
1 parent a3b2e38 commit 4e65a11
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,31 @@ jobs:
- v3.13.x
- v4.0.x
steps:
- uses: actions/checkout@v4
- 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/rabbitmq-message-deduplication
- name: Install Erlang and Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.erlang }}
elixir-version: ${{ matrix.elixir }}
- name: Run tests
# working-directory: rabbitmq-server/deps/rabbitmq-message-deduplication
run: |
cd rabbitmq-server/deps/rabbitmq-message-deduplication
make current_rmq_ref=${{ matrix.rmqref }}
make tests current_rmq_ref=${{ matrix.rmqref }}
- name: Build distribution files
# working-directory: rabbitmq-server/deps/rabbitmq-message-deduplication
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/
path: rabbitmq-server/deps/rabbitmq-message-deduplication/plugins/

0 comments on commit 4e65a11

Please sign in to comment.