Skip to content

Commit

Permalink
Merge pull request #4223
Browse files Browse the repository at this point in the history
664d578 workflows: free up diskspace for docker builds (tobtoht)
  • Loading branch information
luigi1111 committed Nov 6, 2023
2 parents 70a8086 + 664d578 commit 7a754a4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7a754a4

Please sign in to comment.