diff options
| author | selsta <selsta@sent.at> | 2019-11-14 22:06:29 +0100 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2019-11-14 22:12:38 +0100 |
| commit | f57b2d57cd3ed24601f287931b771a047e30288c (patch) | |
| tree | 4d9de35ba7fce128243ffc6213736022f0f30841 | |
| parent | cf0e5a811e1ac3cd98607f70d9d479ba735d9353 (diff) | |
| download | monzero-gui-f57b2d57cd3ed24601f287931b771a047e30288c.tar.gz monzero-gui-f57b2d57cd3ed24601f287931b771a047e30288c.tar.xz monzero-gui-f57b2d57cd3ed24601f287931b771a047e30288c.zip | |
workflows: add basic ubuntu/macOS build script
| -rw-r--r-- | .github/workflows/build.yml | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..db4fcee4 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,30 @@ +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 + + 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 + - name: build + run: ./build.sh |
