mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-04 15:07:25 -04:00
cmake: implement MacOS 'release' build + CI support
This commit is contained in:
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
@@ -6,15 +6,28 @@ jobs:
|
||||
build-macos:
|
||||
|
||||
runs-on: macOS-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
toolchain:
|
||||
- name: "qmake"
|
||||
cmd: "export PATH=$PATH:/usr/local/opt/qt/bin && ./build.sh"
|
||||
output: build/release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui
|
||||
- name: "cmake"
|
||||
cmd: "USE_SINGLE_BUILDDIR=ON DEV_MODE=ON make release -j3"
|
||||
output: build/release/bin/monero-wallet-gui
|
||||
name: build-macos-${{ matrix.toolchain.name }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: update brew and install dependencies
|
||||
run: brew update && brew install boost hidapi zmq libpgm miniupnpc ldns expat libunwind-headers protobuf qt5 libgcrypt
|
||||
run: brew update && brew install boost hidapi zmq libpgm miniupnpc ldns expat libunwind-headers protobuf qt5 pkg-config
|
||||
- name: build
|
||||
run: export PATH=$PATH:/usr/local/opt/qt/bin && ./build.sh
|
||||
run: ${{ matrix.toolchain.cmd }}
|
||||
- name: test qml
|
||||
run: build/release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui --test-qml
|
||||
run: ${{ matrix.toolchain.output }} --test-qml
|
||||
|
||||
build-ubuntu:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user