@@ -3,51 +3,29 @@ 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
+ options : -v ${{ github.workspace }}:/var/www
24
+ run : |
25
+ echo Docker setup done
48
26
49
27
- name : Checkout
50
- uses : actions/checkout@v2
28
+ uses : actions/checkout@v3
51
29
with :
52
30
path : Arduino-Zephyr-API
53
31
63
41
working-directory : Arduino-Zephyr-API
64
42
run : |
65
43
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