Skip to content

Commit

Permalink
try to free more space
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Sep 6, 2024
1 parent 1f75204 commit 2f258be
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v3

Expand All @@ -22,8 +22,23 @@ jobs:
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
cd /opt
find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf \
"$AGENT_TOOLSDIRECTORY" \
/opt/google/chrome \
/opt/microsoft/msedge \
/opt/microsoft/powershell \
/opt/pipx \
/usr/lib/mono \
/usr/local/julia* \
/usr/local/lib/android \
/usr/local/lib/node_modules \
/usr/local/share/chromium \
/usr/local/share/powershell \
/usr/share/dotnet \
/usr/share/swift
df -h /
- uses: DeterminateSystems/nix-installer-action@main
name: Install Nix
Expand All @@ -43,6 +58,7 @@ jobs:
with:
packages: "github:srid/nixci"
- run: nixci build

build-docker:
runs-on: ubuntu-latest
needs: build
Expand Down

0 comments on commit 2f258be

Please sign in to comment.