Compare commits

...

15 Commits

Author SHA1 Message Date
ad1546f360 Add docker install to build workflow
Some checks failed
Build / Build and Push (push) Failing after 3h2m20s
2024-07-25 22:46:26 -04:00
c911d0166e Revert to previous build workflow
Some checks failed
Build / Build and Push (push) Failing after 1m31s
2024-07-25 21:52:38 -04:00
4f5d81c88b Updated build workflow
Some checks failed
Build / Build and Push (push) Failing after 2m22s
2024-07-25 21:43:39 -04:00
d2a96ccce9 Added environment setup to build workflow
Some checks failed
Build / Build and Push (push) Failing after 3h3m52s
2024-07-25 14:41:11 -04:00
426d9c32de Test build and push workflow action
Some checks failed
Build / Build and Push (push) Failing after 1m6s
2024-07-25 14:36:17 -04:00
60ad417b9e Added workflow troubleshooting
Some checks failed
Build / Build and Push (push) Has been cancelled
2024-07-25 14:25:15 -04:00
4ea34bb60d Added github.workspace to build workflow command
Some checks failed
Build / Build and Push (push) Failing after 1h29m18s
2024-07-24 20:44:46 -04:00
92bdbe8192 Test alternative build method
Some checks failed
Build / Build and Push (push) Failing after 1h28m55s
2024-07-23 21:01:07 -04:00
93b9b26d1d Added bind propogation
Some checks failed
Build / docker-build (push) Failing after 33s
2024-07-22 14:42:27 -04:00
8b7ee2d8f0 Additional build workflow troubleshooting
Some checks failed
Build / docker-build (push) Failing after 36s
2024-07-22 14:34:04 -04:00
099fc8e394 Additional build workflow troubleshooting
Some checks failed
Build / docker-build (push) Failing after 34s
2024-07-22 14:32:17 -04:00
8c7c1dc9d7 Additional build workflow troubleshooting
Some checks failed
Build / docker-build (push) Failing after 34s
2024-07-22 14:16:00 -04:00
6cfbb8559b Added additional build workflow troubleshooting
Some checks failed
Build / docker-build (push) Failing after 35s
2024-07-22 14:11:03 -04:00
8953c8c5f2 Removed interactive shell and added workflow troubleshooting
Some checks failed
Build / docker-build (push) Failing after 36s
2024-07-22 14:03:49 -04:00
4df7f89c84 Added interactive session for debugging 2024-07-22 13:57:28 -04:00

View File

@@ -7,17 +7,24 @@ jobs:
# Build image and push to container registry
docker-build:
runs-on: ubuntu-20.04
name: Build and Push
steps:
# Checkout Repository
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
# Install Docker
- name: Install docker
uses: papodaca/install-docker-action@main
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
with:
config-inline: |
[registry."git.prettyhefty.com"]
[registry."git.prettyhefty.com"]
- name: Login to Registry
uses: docker/login-action@v3
@@ -26,30 +33,18 @@ jobs:
username: ${{ gitea.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: prepare build environment
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
- name: Setup environment
run: cp Dockerfile.linux Dockerfile
- name: List directory contents
run: ls -la /workspace/Bill/monero-gui
- name: Show Makefile
run: cat /workspace/Bill/monero-gui/Makefile
- 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: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: bill/monero:test
- 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
run: xvfb-run -a /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui --test-qml