Skip to content

Commit

Permalink
TEMP: enable cleanup on Windows platform, and check disk space used b…
Browse files Browse the repository at this point in the history
…y the pull
  • Loading branch information
mikeage committed Oct 11, 2023
1 parent 48e3160 commit 2bad0aa
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ jobs:
- name: Free extra space
# This takes several minutes, so we only do it where required
# Ubuntu 22.04 20230517.1 added some new packages, so we'll enable this (temporarily, hopefully). See https://github.com/actions/runner-images/pull/7645/files#diff-d3f496e99457b699df2a5621c8f59cb52f60a050e1a88318af7d6f7069c12b2eR180 for details
if: matrix.targetPlatform == 'Android' # We needed this to build for Android with the Ubuntu 20.04 image, which started with 29GB free. The 22.04 starts with 37GB free, and this is enough.
if: matrix.targetPlatform == 'Android' || matrix.targetPlatform == 'StandaloneWindows64' # We needed this to build for Android with the Ubuntu 20.04 image, which started with 29GB free. The 22.04 starts with 37GB free, and this is enough.
run: |
echo "Initial free space"
df -h /
Expand Down Expand Up @@ -387,6 +387,13 @@ jobs:
run: |
echo -e "\n-define:PIMAX_SUPPORTED" | tee -a Assets/csc.rsp
- name: Disk space before and after pull
if: matrix.targetPlatform == 'StandaloneWindows64'
run: |
df -h /
docker pull unityci/editor:ubuntu-2021.3.16f1-windows-mono-2
df -h /
- name: Build project
uses: game-ci/unity-builder@v3
env:
Expand Down

0 comments on commit 2bad0aa

Please sign in to comment.