mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
34 lines
1.4 KiB
YAML
34 lines
1.4 KiB
YAML
name: GUI build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build-macos:
|
|
|
|
runs-on: macOS-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: update brew and install dependencies
|
|
run: brew update && brew install boost hidapi zmq libpgm unbound libsodium miniupnpc ldns expat doxygen graphviz libunwind-headers protobuf qt5
|
|
- name: build
|
|
run: export PATH=$PATH:/usr/local/opt/qt/bin && ./build.sh
|
|
- name: test qml
|
|
run: build/release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui --test-qml
|
|
|
|
build-ubuntu:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- name: update apt
|
|
run: sudo apt update
|
|
- name: install monero dependencies
|
|
run: 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
|
|
- name: install monero gui dependencies
|
|
run: sudo apt -y install qtbase5-dev qt5-default qtdeclarative5-dev qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-dialogs qml-module-qtquick-xmllistmodel qml-module-qt-labs-settings qml-module-qt-labs-folderlistmodel qttools5-dev-tools qml-module-qtquick-templates2 libqt5svg5-dev xvfb
|
|
- name: build
|
|
run: ./build.sh
|
|
- name: test qml
|
|
run: xvfb-run -a build/release/bin/monero-wallet-gui --test-qml
|