@@ -3,57 +3,39 @@ 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 :
10
+ - name : Maximize build space
11
+ uses :
AdityaGarg8/[email protected]
12
+ with :
13
+ remove-android : ' true'
14
+ - name : Build
15
+ run : |
16
+ echo "Free space:"
17
+ df -h
32
18
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
19
+ - name : test
20
+ uses : addnab/docker-run-action@v3
21
+ with :
22
+ image : zephyrprojectrtos/ci:latest
23
+ env :
24
+ CMAKE_PREFIX_PATH : /opt/toolchains
25
+ run : |
26
+ echo Docker setup done
27
+ df -h
48
28
49
29
- name : Checkout
50
- uses : actions/checkout@v2
30
+ uses : actions/checkout@v4
51
31
with :
52
32
path : Arduino-Zephyr-API
53
33
54
34
- name : Initialize
55
35
working-directory : Arduino-Zephyr-API
56
36
run : |
37
+ uname -a
38
+ df -h
57
39
west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git
58
40
west update
59
41
git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API
63
45
working-directory : Arduino-Zephyr-API
64
46
run : |
65
47
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
71
-
72
- - name : Build adc
73
- working-directory : Arduino-Zephyr-API
74
- run : |
75
- west build -p -b beagleconnect_freedom samples/analog_input
76
-
0 commit comments