File tree 1 file changed +37
-10
lines changed
1 file changed +37
-10
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,48 @@ 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
25
+
6
26
build :
7
27
runs-on : ubuntu-latest
28
+ container : zephyrprojectrtos/ci:latest
8
29
env :
9
30
CMAKE_PREFIX_PATH : /opt/toolchains
10
31
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
32
+
33
+ - name : Free Disk Space (Ubuntu)
34
+ uses : jlumbroso/free-disk-space@main
35
+ with :
36
+ # this might remove tools that are actually needed,
37
+ # if set to "true" but frees about 6 GB
38
+ tool-cache : false
39
+
40
+ # all of these default to true, but feel free to set to
41
+ # "false" if necessary for your workflow
42
+ android : true
43
+ dotnet : true
44
+ haskell : true
45
+ large-packages : true
46
+ docker-images : true
47
+ swap-storage : true
21
48
22
49
- name : Checkout
23
50
uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments