-
-
Notifications
You must be signed in to change notification settings - Fork 320
56 lines (46 loc) · 1.23 KB
/
ci_cleanup.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * 1'
name: Garbage collect nix store
jobs:
clean-big-ci:
runs-on: [self-hosted, i7-6700K]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
clean-small-ci:
runs-on: [self-hosted, i5-4690K]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
clean-mac-mini-arm64:
runs-on: [self-hosted, macOS, ARM64]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
- 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-rpi-2:
runs-on: [self-hosted, Linux, ARM64]
timeout-minutes: 120
steps:
- name: Clean up nix store
run: nix-store --gc
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