mirror of
https://github.com/vtnerd/monero-lws.git
synced 2025-01-18 16:44:33 +00:00
First atttempt at a macos CI
This commit is contained in:
parent
73eb137055
commit
332df0b2f6
1 changed files with 14 additions and 5 deletions
19
.github/workflows/build-ubuntu.yml
vendored
19
.github/workflows/build-ubuntu.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: ubuntu-ci
|
||||
name: github-ci
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -20,16 +20,24 @@ jobs:
|
|||
runs-on: ${{matrix.os}}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
|
||||
os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, macos-latest, macos-12, macos-11]
|
||||
steps:
|
||||
- name: set apt conf
|
||||
if: matrix.os == "ubuntu-latest" || matrix.os == "ubuntu-22.04" || matrix.os == "ubuntu-20.04"
|
||||
run: ${{env.APT_SET_CONF}}
|
||||
- name: update apt
|
||||
if: matrix.os == "ubuntu-latest" || matrix.os == "ubuntu-22.04" || matrix.os == "ubuntu-20.04"
|
||||
run: sudo apt update
|
||||
- name: install monero dependencies
|
||||
- name: Install dependencies (Linux)
|
||||
if: matrix.os == "ubuntu-latest" || matrix.os == "ubuntu-22.04" || matrix.os == "ubuntu-20.04"
|
||||
run: ${{env.APT_INSTALL_LINUX}}
|
||||
|
||||
- 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
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout Monero Source
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: monero-project/monero
|
||||
path: ${{github.workspace}}/monero/
|
||||
|
@ -41,7 +49,8 @@ jobs:
|
|||
- name: Build Monero
|
||||
run: cd ${{github.workspace}}/monero/build && make -j$(nproc) daemon lmdb_lib multisig
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- name: Checkout LWS Source
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
path: ${{github.workspace}}/lws
|
||||
|
||||
|
|
Loading…
Reference in a new issue