diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2023-11-06 09:45:39 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2023-11-06 09:45:39 -0500 |
| commit | 7a754a4dfcaeacc8593cf01f135a7b283d542aa6 (patch) | |
| tree | 60f4c04c74ab1b3eb96af7b2d258d0a5e83ce135 | |
| parent | 70a8086366220a567a37a65bc02402d6a8867b45 (diff) | |
| parent | 664d578f306ab18191bc3c371e4870bbf270dc06 (diff) | |
| download | monzero-gui-7a754a4dfcaeacc8593cf01f135a7b283d542aa6.tar.gz monzero-gui-7a754a4dfcaeacc8593cf01f135a7b283d542aa6.tar.xz monzero-gui-7a754a4dfcaeacc8593cf01f135a7b283d542aa6.zip | |
Merge pull request #4223
664d578 workflows: free up diskspace for docker builds (tobtoht)
| -rw-r--r-- | .github/workflows/build.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 770b6043..8a0b8511 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,6 +2,10 @@ name: ci/gh-actions/gui on: [push, pull_request] +env: + FREE_DISKSPACE: | + sudo rm -rf /usr/local/.ghcup /usr/share/dotnet /usr/share/swift /usr/share/miniconda + jobs: build-macos: runs-on: macOS-latest @@ -107,6 +111,8 @@ jobs: 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: free up diskspace + run: ${{env.FREE_DISKSPACE}} - name: prepare build environment run: docker build --tag monero:build-env-linux --build-arg THREADS=3 --file Dockerfile.linux . - name: build @@ -135,6 +141,8 @@ jobs: key: docker-windows-static-{hash} restore-keys: | docker-windows-static- + - name: free up diskspace + run: ${{env.FREE_DISKSPACE}} - name: prepare build environment run: docker build --tag monero:build-env-windows --build-arg THREADS=3 --file Dockerfile.windows . - name: build @@ -161,6 +169,8 @@ jobs: key: docker-android-static-{hash} restore-keys: | docker-android-static- + - name: free up diskspace + run: ${{env.FREE_DISKSPACE}} - name: prepare build environment run: docker build --tag monero:build-env-android --build-arg THREADS=3 --file Dockerfile.android . - name: build |
