forked from Public/monero-gui
Compare commits
18 Commits
e9c0de9e26
...
github-bui
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ec4749244 | |||
| 7afe4a3136 | |||
| e3b20fa518 | |||
| 96e8503960 | |||
| c911d0166e | |||
| 4f5d81c88b | |||
| d2a96ccce9 | |||
| 426d9c32de | |||
| 60ad417b9e | |||
| 4ea34bb60d | |||
| 92bdbe8192 | |||
| 93b9b26d1d | |||
| 8b7ee2d8f0 | |||
| 099fc8e394 | |||
| 8c7c1dc9d7 | |||
| 6cfbb8559b | |||
| 8953c8c5f2 | |||
| 4df7f89c84 |
@@ -8,48 +8,29 @@ jobs:
|
|||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
with:
|
||||||
with:
|
submodules: recursive
|
||||||
submodules: recursive
|
- uses: satackey/action-docker-layer-caching@v0.0.11
|
||||||
|
if: "!startsWith(github.ref, 'refs/tags/v')"
|
||||||
- name: Set up Docker BuildX
|
continue-on-error: true
|
||||||
uses: docker/setup-buildx-action@v3
|
with:
|
||||||
with:
|
key: docker-linux-static-{hash}
|
||||||
config-inline: |
|
restore-keys: |
|
||||||
[registry."git.prettyhefty.com"]
|
docker-linux-static-
|
||||||
|
- name: install dependencies
|
||||||
- name: Login to Registry
|
run: sudo apt -y install xvfb libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xkb1 libxcb-shape0 libxkbcommon-x11-0
|
||||||
uses: docker/login-action@v3
|
- name: prepare build environment
|
||||||
with:
|
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
|
||||||
registry: https://git.prettyhefty.com
|
- name: build
|
||||||
username: ${{ gitea.repository_owner }}
|
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'
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
- name: sha256sum
|
||||||
|
run: shasum -a256 /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui
|
||||||
- name: prepare build environment
|
- name: test qml
|
||||||
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
|
run: xvfb-run -a /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui --test-qml
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
- name: List directory contents
|
with:
|
||||||
run: ls -la /workspace/Bill/monero-gui
|
name: ${{ github.job }}
|
||||||
|
path: |
|
||||||
- name: Show Makefile
|
/home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui
|
||||||
run: cat /workspace/Bill/monero-gui/Makefile
|
/home/runner/work/monero-gui/monero-gui/build/release/bin/monerod
|
||||||
|
|
||||||
- name: Check docker mount
|
|
||||||
run: docker run --rm -v /workspace/Bill/monero-gui:/workspace -w /workspace monero:build-env-linux sh -c 'ls -la'
|
|
||||||
|
|
||||||
- name: build
|
|
||||||
run: docker run --rm -v /workspace/Bill/monero-gui:/workspace -w /workspace monero:build-env-linux sh -c 'make release-static -j3'
|
|
||||||
|
|
||||||
- name: sha256sum
|
|
||||||
run: shasum -a256 /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui
|
|
||||||
|
|
||||||
- name: test qml
|
|
||||||
run: xvfb-run -a /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui --test-qml
|
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ${{ gitea.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