First atttempt at a macos CI

This commit is contained in:
Lee *!* Clagett 2023-08-04 15:37:21 -04:00 committed by GitHub
parent 73eb137055
commit 332df0b2f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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