Compare commits

...

16 Commits

Author SHA1 Message Date
9ec4749244 Changed build workflow to run in container
Some checks failed
Build / docker-build (push) Failing after 23s
2024-07-25 22:20:02 -04:00
7afe4a3136 Added node.js setup to build workflow
Some checks failed
Build / docker-build (push) Failing after 40s
2024-07-25 22:10:47 -04:00
e3b20fa518 Updated checkout workflow version
Some checks failed
Build / docker-build (push) Failing after 1s
2024-07-25 22:07:23 -04:00
96e8503960 Set github build file
Some checks failed
Build / docker-build (push) Failing after 11s
2024-07-25 21:58:22 -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

View File

@@ -8,42 +8,29 @@ jobs:
docker-build:
runs-on: ubuntu-20.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v3
- uses: satackey/action-docker-layer-caching@v0.0.11
if: "!startsWith(github.ref, 'refs/tags/v')"
continue-on-error: true
with:
config-inline: |
[registry."git.prettyhefty.com"]
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: https://git.prettyhefty.com
username: ${{ gitea.repository_owner }}
password: ${{ secrets.REGISTRY_TOKEN }}
key: docker-linux-static-{hash}
restore-keys: |
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 libxcb-shape0 libxkbcommon-x11-0
- name: prepare build environment
run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux .
- name: build
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'
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
run: shasum -a256 /workspace/Bill/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 /workspace/Bill/monero-gui/build/release/bin/monero-wallet-gui --test-qml
- uses: actions/upload-artifact@v4
run: xvfb-run -a /home/runner/work/monero-gui/monero-gui/build/release/bin/monero-wallet-gui --test-qml
- uses: actions/upload-artifact@v2
with:
name: ${{ gitea.job }}
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