forked from Public/monero-gui
This commit is contained in:
@@ -14,6 +14,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
- uses: satackey/action-docker-layer-caching@v0.0.11
|
||||||
|
if: "!startsWith(github.ref, 'refs/tags/v')"
|
||||||
|
continue-on-error: true
|
||||||
|
with:
|
||||||
|
key: docker-linux-static-{hash}
|
||||||
|
restore-keys: |
|
||||||
|
docker-linux-static-
|
||||||
|
|
||||||
- name: Set up Docker BuildX
|
- name: Set up Docker BuildX
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
@@ -27,18 +35,21 @@ jobs:
|
|||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ gitea.repository_owner }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: Setup environment
|
- name: install dependencies
|
||||||
run: cp Dockerfile.linux Dockerfile
|
run: sudo apt -y install xvfb libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xkb1 libxcb-shape0 libxkbcommon-x11-0
|
||||||
|
|
||||||
- name: Build and push
|
- name: build
|
||||||
uses: docker/build-push-action@v6
|
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'
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
push: true
|
|
||||||
tags: bill/monero:test
|
|
||||||
|
|
||||||
- name: sha256sum
|
- name: sha256sum
|
||||||
run: shasum -a256 /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui
|
run: shasum -a256 /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui
|
||||||
|
|
||||||
- name: test qml
|
- name: test qml
|
||||||
run: xvfb-run -a /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui --test-qml
|
run: xvfb-run -a /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui --test-qml
|
||||||
|
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: ${{ github.job }}
|
||||||
|
path: |
|
||||||
|
/home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui
|
||||||
|
/home/runner/work/monero-gui/monero-gui/build/release/bin/monerod
|
||||||
Reference in New Issue
Block a user