@@ -3,74 +3,19 @@ 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
-
26
6
build :
7
+ name : Build my artifact
27
8
runs-on : ubuntu-latest
28
- container : zephyrprojectrtos/ci:latest
29
- env :
30
- CMAKE_PREFIX_PATH : /opt/toolchains
31
9
steps :
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
48
-
49
- - name : Checkout
50
- uses : actions/checkout@v2
10
+ - name : Maximize build space
11
+ uses :
AdityaGarg8/[email protected]
51
12
with :
52
- path : Arduino-Zephyr-API
53
-
54
- - name : Initialize
55
- working-directory : Arduino-Zephyr-API
56
- run : |
57
- west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git
58
- west update
59
- git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API
60
- cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
61
-
62
- - name : Build fade
63
- working-directory : Arduino-Zephyr-API
64
- run : |
65
- west build -p -b arduino_nano_33_ble_sense samples/fade
66
-
67
- - name : Build i2cdemo
68
- working-directory : Arduino-Zephyr-API
69
- run : |
70
- west build -p -b arduino_nano_33_ble_sense samples/i2cdemo
13
+ remove-android : ' true'
14
+ - name : Checkout
15
+ uses : actions/checkout@v3
71
16
72
- - name : Build adc
73
- working-directory : Arduino-Zephyr-API
17
+ - name : Build
18
+ uses : actions/checkout@v3
74
19
run : |
75
- west build -p -b beagleconnect_freedom samples/analog_input
76
-
20
+ echo "Free space:"
21
+ df -h
0 commit comments