mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Merge pull request #3380
c789efb
workflows: test qml of docker compiled apps (selsta)
This commit is contained in:
commit
4597b4d94d
1 changed files with 6 additions and 0 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -79,6 +79,8 @@ jobs:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
run: make deploy
|
run: make deploy
|
||||||
working-directory: build/release
|
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
|
- name: create .tar
|
||||||
run: tar -cf monero-wallet-gui.tar monero-wallet-gui.app
|
run: tar -cf monero-wallet-gui.tar monero-wallet-gui.app
|
||||||
working-directory: build/release/bin
|
working-directory: build/release/bin
|
||||||
|
@ -99,12 +101,16 @@ jobs:
|
||||||
key: docker-linux-static-{hash}
|
key: docker-linux-static-{hash}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
docker-linux-static-
|
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
|
- name: preprare build enviroment
|
||||||
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
|
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
|
||||||
- name: build
|
- 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'
|
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
|
- name: sha256sum
|
||||||
run: shasum -a256 /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui
|
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
|
- uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ github.job }}
|
name: ${{ github.job }}
|
||||||
|
|
Loading…
Reference in a new issue