File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : build
2+ on : [push, pull_request]
3+ env :
4+ SERVER_FOLDER : rabbitmq-server
5+ PLUGIN_FOLDER : rabbitmq-server/deps/rabbitmq_web_ocpp
6+ jobs :
7+ build :
8+ runs-on : ubuntu-24.04
9+ strategy :
10+ matrix :
11+ PLATFORM :
12+ - { RMQREF: "v4.0.x", ERLVER: "26.2" }
13+ - { RMQREF: "v4.1.x", ERLVER: "27" }
14+ name : " Broker: ${{ matrix.PLATFORM.RMQREF }} - Erlang: ${{ matrix.PLATFORM.ERLVER }}"
15+ steps :
16+ - name : Checkout RabbitMQ Server
17+ uses : actions/checkout@v4
18+ with :
19+ repository : rabbitmq/rabbitmq-server
20+ path : ${{ env.SERVER_FOLDER }}
21+ - name : Checkout Plugin
22+ uses : actions/checkout@v4
23+ with :
24+ path : ${{ env.PLUGIN_FOLDER }}
25+ - name : Install Erlang and Elixir
26+ uses : erlef/setup-beam@v1
27+ with :
28+ otp-version : ${{ matrix.PLATFORM.ERLVER }}
29+ - name : Build distribution files
30+ working-directory : ${{ env.PLUGIN_FOLDER }}
31+ run : |
32+ make dist RABBITMQ_VERSION=${{ matrix.PLATFORM.RMQREF }} MIX_ENV=prod DIST_AS_EZS=yes
33+ - name : Store build artifacts
34+ uses : actions/upload-artifact@v4
35+ with :
36+ name : plugins-ocpp-rmq${{ matrix.PLATFORM.RMQREF }}-erl${{ matrix.PLATFORM.ERLVER }}
37+ path : |
38+ ${{ env.PLUGIN_FOLDER }}/plugins/rabbitmq_web_ocpp-[0-9].*.ez
You can’t perform that action at this time.
0 commit comments