forked from Public/monero-gui
Compare commits
13 Commits
8953c8c5f2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| ad1546f360 | |||
| c911d0166e | |||
| 4f5d81c88b | |||
| d2a96ccce9 | |||
| 426d9c32de | |||
| 60ad417b9e | |||
| 4ea34bb60d | |||
| 92bdbe8192 | |||
| 93b9b26d1d | |||
| 8b7ee2d8f0 | |||
| 099fc8e394 | |||
| 8c7c1dc9d7 | |||
| 6cfbb8559b |
@@ -7,17 +7,24 @@ jobs:
|
|||||||
# Build image and push to container registry
|
# Build image and push to container registry
|
||||||
docker-build:
|
docker-build:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
name: Build and Push
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
# Checkout Repository
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
|
# Install Docker
|
||||||
|
- name: Install docker
|
||||||
|
uses: papodaca/install-docker-action@main
|
||||||
|
|
||||||
- name: Set up Docker BuildX
|
- name: Set up Docker BuildX
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
config-inline: |
|
config-inline: |
|
||||||
[registry."git.prettyhefty.com"]
|
[registry."git.prettyhefty.com"]
|
||||||
|
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -26,24 +33,18 @@ jobs:
|
|||||||
username: ${{ gitea.repository_owner }}
|
username: ${{ gitea.repository_owner }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
- name: prepare build environment
|
- name: Setup environment
|
||||||
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
|
run: cp Dockerfile.linux Dockerfile
|
||||||
|
|
||||||
- name: build
|
- name: Build and push
|
||||||
run: docker run --rm -v /workspace/Bill/monero-gui:/workspace -w /workspace monero:build-env-linux sh -c 'ls -la /'
|
uses: docker/build-push-action@v6
|
||||||
|
with:
|
||||||
- name: build
|
context: .
|
||||||
run: docker run --rm -v /workspace/Bill/monero-gui:/workspace -w /workspace monero:build-env-linux sh -c 'make release-static -j3'
|
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@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