mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-04-01 11:39:02 +00:00
Add RabbitMQ to the CI
This commit is contained in:
parent
619d69fb92
commit
97f9a9295b
1 changed files with 8 additions and 1 deletions
9
.github/workflows/build-ubuntu.yml
vendored
9
.github/workflows/build-ubuntu.yml
vendored
|
@ -21,6 +21,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-12, macos-11]
|
||||
rmq: [ON, OFF]
|
||||
steps:
|
||||
- name: set apt conf (Debian based Linux)
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-20.04'
|
||||
|
@ -31,10 +32,16 @@ jobs:
|
|||
- name: Install dependencies (Debian based Linux)
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-20.04'
|
||||
run: ${{env.APT_INSTALL_LINUX}}
|
||||
- name: Install RabbitMQ iff WITH_RMQ (Debian based Linux)
|
||||
if: matrix.rmq == 'ON' && (matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-20.04')
|
||||
run: sudo apt -y install librabbitmq-dev
|
||||
|
||||
- name: Install dependencies (MacOS)
|
||||
if: matrix.os == 'macos-latest' || matrix.os == 'macos-12' || matrix.os == 'macos-11'
|
||||
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi openssl zmq libpgm miniupnpc expat libunwind-headers protobuf ccache
|
||||
- name: Install RabbitMQ iff WITH_RMQ (MacOS)
|
||||
if: matrix.rmq == 'ON' && (matrix.os == 'macos-latest' || matrix.os == 'macos-12' || matrix.os == 'macos-11')
|
||||
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install rabbitmq
|
||||
|
||||
- name: Checkout Monero Source
|
||||
uses: actions/checkout@v3
|
||||
|
@ -44,7 +51,7 @@ jobs:
|
|||
submodules: recursive
|
||||
|
||||
- name: Configure Monero
|
||||
run: cmake -B ${{github.workspace}}/monero/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{github.workspace}}/monero
|
||||
run: cmake -B ${{github.workspace}}/monero/build -DWITH_RMQ=${{matrix.rmq}} -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} ${{github.workspace}}/monero
|
||||
|
||||
- name: Build Monero
|
||||
run: cd ${{github.workspace}}/monero/build && make -j$(nproc) daemon lmdb_lib multisig
|
||||
|
|
Loading…
Reference in a new issue