aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-04-07 17:42:21 +0200
committerselsta <selsta@sent.at>2021-04-08 01:36:06 +0200
commitc789efbe8a5db7f62327c423569074f45bcd19ec (patch)
treebf48aa5afd7d2ea7771b0b1950ad9e2babf656d0 /.github
parentb3dace6b450db582d8b683b9dcff4fca96357586 (diff)
downloadmonzero-gui-c789efbe8a5db7f62327c423569074f45bcd19ec.tar.gz
monzero-gui-c789efbe8a5db7f62327c423569074f45bcd19ec.tar.xz
monzero-gui-c789efbe8a5db7f62327c423569074f45bcd19ec.zip
workflows: test qml of docker compiled apps
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7222a752..e38860a3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -79,6 +79,8 @@ jobs:
- name: deploy
run: make deploy
working-directory: build/release
+ - name: test qml
+ run: build/release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui --test-qml
- name: create .tar
run: tar -cf monero-wallet-gui.tar monero-wallet-gui.app
working-directory: build/release/bin
@@ -99,12 +101,16 @@ jobs:
key: docker-linux-static-{hash}
restore-keys: |
docker-linux-static-
+ - name: install dependencies
+ run: sudo apt -y install xvfb libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0
- name: preprare build enviroment
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
- name: build
run: docker run --rm -v /home/runner/work/monero-gui/monero-gui:/monero-gui -w /monero-gui monero:build-env-linux sh -c 'make release-static -j3'
- name: sha256sum
run: shasum -a256 /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui
+ - name: test qml
+ run: xvfb-run -a /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui --test-qml
- uses: actions/upload-artifact@v2
with:
name: ${{ github.job }}