Merge pull request #6024 from roc-lang/extra-ci-cleanup

extra CI cleanup steps
This commit is contained in:
Anton-4 2023-11-20 17:14:47 +01:00 committed by GitHub
commit 410f99cc00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,44 +5,51 @@ on:
name: Garbage collect nix store
jobs:
clean-nix-store-big-ci:
clean-big-ci:
runs-on: [self-hosted, i7-6700K]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
clean-nix-store-small-ci:
clean-small-ci:
runs-on: [self-hosted, i5-4690K]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
clean-nix-store-mac-mini-arm64:
clean-mac-mini-arm64:
runs-on: [self-hosted, macOS, ARM64]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
clean-nix-store-rpi-1:
runs-on: [self-hosted, pi-4-8GB-aarch64]
- name: Clean up nix shells
run: rm -rf /private/tmp/nix-shell.*
clean-rpi-1:
runs-on: [self-hosted, Linux, ARM64]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
clean-nix-store-rpi-2:
runs-on: [self-hosted, rpiGreen]
clean-rpi-2:
runs-on: [self-hosted, Linux, ARM64]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
clean-nix-store-mac-mini-x86-64:
clean-mac-mini-x86-64:
runs-on: [self-hosted, macOS, X64]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
- name: Clean up temp roc binaries
run: find /private/var/folders/hq -type f -name "roc_app_binary" -exec rm {} \; || true