mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-01-03 17:29:25 +00:00
Update Github CI (#106)
* Update to checkout v4 * Remove unnecessary package installs * Remove macOS 11 from matrix (brew install issues)
This commit is contained in:
parent
d49cc0df9a
commit
f242063422
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build-ubuntu.yml
vendored
10
.github/workflows/build-ubuntu.yml
vendored
|
@ -9,7 +9,7 @@ on:
|
||||||
env:
|
env:
|
||||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||||
BUILD_TYPE: Release
|
BUILD_TYPE: Release
|
||||||
APT_INSTALL_LINUX: 'sudo apt -y install build-essential cmake libboost-all-dev miniupnpc libunbound-dev graphviz doxygen libunwind8-dev pkg-config libssl-dev libzmq3-dev libsodium-dev libhidapi-dev libnorm-dev libusb-1.0-0-dev libpgm-dev libprotobuf-dev protobuf-compiler ccache'
|
APT_INSTALL_LINUX: 'sudo apt -y install build-essential cmake libboost-all-dev miniupnpc libunbound-dev libunwind8-dev pkg-config libssl-dev libzmq3-dev libsodium-dev libhidapi-dev libnorm-dev libusb-1.0-0-dev libpgm-dev libprotobuf-dev protobuf-compiler'
|
||||||
APT_SET_CONF: |
|
APT_SET_CONF: |
|
||||||
echo "Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
echo "Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
||||||
echo "Acquire::http::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
echo "Acquire::http::Timeout \"120\";" | sudo tee -a /etc/apt/apt.conf.d/80-custom
|
||||||
|
@ -20,7 +20,7 @@ jobs:
|
||||||
runs-on: ${{matrix.os}}
|
runs-on: ${{matrix.os}}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-12, macos-11]
|
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-12]
|
||||||
rmq: [WITH_RMQ=ON, WITH_RMQ=OFF]
|
rmq: [WITH_RMQ=ON, WITH_RMQ=OFF]
|
||||||
steps:
|
steps:
|
||||||
- name: set apt conf (Debian based Linux)
|
- name: set apt conf (Debian based Linux)
|
||||||
|
@ -38,13 +38,13 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies (MacOS)
|
- name: Install dependencies (MacOS)
|
||||||
if: matrix.os == 'macos-latest' || matrix.os == 'macos-12' || matrix.os == 'macos-11'
|
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
|
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install boost hidapi openssl zmq libpgm miniupnpc expat libunwind-headers protobuf
|
||||||
- name: Install RabbitMQ iff WITH_RMQ (MacOS)
|
- name: Install RabbitMQ iff WITH_RMQ (MacOS)
|
||||||
if: matrix.rmq == 'WITH_RMQ=ON' && (matrix.os == 'macos-latest' || matrix.os == 'macos-12' || matrix.os == 'macos-11')
|
if: matrix.rmq == 'WITH_RMQ=ON' && (matrix.os == 'macos-latest' || matrix.os == 'macos-12' || matrix.os == 'macos-11')
|
||||||
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install rabbitmq-c
|
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install rabbitmq-c
|
||||||
|
|
||||||
- name: Checkout Monero Source
|
- name: Checkout Monero Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
repository: monero-project/monero
|
repository: monero-project/monero
|
||||||
path: ${{github.workspace}}/monero/
|
path: ${{github.workspace}}/monero/
|
||||||
|
@ -57,7 +57,7 @@ jobs:
|
||||||
run: cd ${{github.workspace}}/monero/build && make -j$(nproc) daemon lmdb_lib multisig
|
run: cd ${{github.workspace}}/monero/build && make -j$(nproc) daemon lmdb_lib multisig
|
||||||
|
|
||||||
- name: Checkout LWS Source
|
- name: Checkout LWS Source
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: ${{github.workspace}}/lws
|
path: ${{github.workspace}}/lws
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue