File tree 1 file changed +35
-10
lines changed
1 file changed +35
-10
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,46 @@ name: Build
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
+ free-disk-space :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+
10
+ - name : Free Disk Space (Ubuntu)
11
+ uses : jlumbroso/free-disk-space@main
12
+ with :
13
+ # this might remove tools that are actually needed,
14
+ # if set to "true" but frees about 6 GB
15
+ tool-cache : false
16
+
17
+ # all of these default to true, but feel free to set to
18
+ # "false" if necessary for your workflow
19
+ android : true
20
+ dotnet : true
21
+ haskell : true
22
+ large-packages : true
23
+ docker-images : true
24
+ swap-storage : true
6
25
build :
7
26
runs-on : ubuntu-latest
27
+ container : zephyrprojectrtos/ci:latest
8
28
env :
9
29
CMAKE_PREFIX_PATH : /opt/toolchains
10
30
steps :
11
- - name : Free disk
12
- run : |
13
- df -h
14
- ls -la /dev/root
15
- sudo apt-get -qq purge build-essential ghc*
16
- sudo apt-get clean
17
- df -h
18
- /usr/bin/docker system prune -af
19
- sudo rm -rf /usr/local/*
20
- df -h
31
+ - name : Free Disk Space (Ubuntu)
32
+ uses : jlumbroso/free-disk-space@main
33
+ with :
34
+ # this might remove tools that are actually needed,
35
+ # if set to "true" but frees about 6 GB
36
+ tool-cache : false
37
+
38
+ # all of these default to true, but feel free to set to
39
+ # "false" if necessary for your workflow
40
+ android : true
41
+ dotnet : true
42
+ haskell : true
43
+ large-packages : true
44
+ docker-images : true
45
+ swap-storage : true
21
46
22
47
- name : Checkout
23
48
uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments