Skip to content

Commit 85f5f08

Browse files
committed
test with all build flow
new clear space Signed-off-by: Dhruva Gole <[email protected]>
1 parent 8264fb1 commit 85f5f08

File tree

1 file changed

+19
-52
lines changed

1 file changed

+19
-52
lines changed

.github/workflows/build.yml

+19-52
Original file line numberDiff line numberDiff line change
@@ -3,54 +3,32 @@ name: Build
33
on: [push, pull_request]
44

55
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-
266
build:
7+
name: Build my artifact
278
runs-on: ubuntu-latest
28-
container: zephyrprojectrtos/ci:latest
29-
env:
30-
CMAKE_PREFIX_PATH: /opt/toolchains
319
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-
10+
- name: Maximize build space
11+
uses: AdityaGarg8/[email protected]
12+
with:
13+
remove-android: 'true'
4914
- name: Checkout
50-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
5116
with:
5217
path: Arduino-Zephyr-API
5318

19+
- name: Build
20+
run: |
21+
echo "Free space:"
22+
df -h
23+
24+
- name: test
25+
uses: addnab/docker-run-action@v3
26+
with:
27+
image: zephyrprojectrtos/ci:latest
28+
options: -v ${{ github.workspace }}:/var/www
29+
run: |
30+
echo hello
31+
5432
- name: Initialize
5533
working-directory: Arduino-Zephyr-API
5634
run: |
@@ -63,14 +41,3 @@ jobs:
6341
working-directory: Arduino-Zephyr-API
6442
run: |
6543
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

Comments
 (0)