Skip to content

Commit

Permalink
Update Github CI (#106)
Browse files Browse the repository at this point in the history
* Update to checkout v4
* Remove unnecessary package installs
* Remove macOS 11 from matrix (brew install issues)
  • Loading branch information
vtnerd authored Apr 6, 2024
1 parent 4191956 commit 7a2c913
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
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: |
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
Expand All @@ -20,7 +20,7 @@ jobs:
runs-on: ${{matrix.os}}
strategy:
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]
steps:
- name: set apt conf (Debian based Linux)
Expand All @@ -38,13 +38,13 @@ jobs:

- 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
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)
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

- name: Checkout Monero Source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: monero-project/monero
path: ${{github.workspace}}/monero/
Expand All @@ -57,7 +57,7 @@ jobs:
run: cd ${{github.workspace}}/monero/build && make -j$(nproc) daemon lmdb_lib multisig

- name: Checkout LWS Source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{github.workspace}}/lws

Expand Down

0 comments on commit 7a2c913

Please sign in to comment.