Skip to content

Commit 2496ac0

Browse files
committed
test
new clear space with dockr Signed-off-by: Dhruva Gole <[email protected]>
1 parent 8264fb1 commit 2496ac0

File tree

1 file changed

+9
-65
lines changed

1 file changed

+9
-65
lines changed

.github/workflows/build.yml

+9-65
Original file line numberDiff line numberDiff line change
@@ -3,74 +3,18 @@ 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-
49-
- name: Checkout
50-
uses: actions/checkout@v2
10+
- name: Maximize build space
11+
uses: AdityaGarg8/[email protected]
5112
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
71-
72-
- name: Build adc
73-
working-directory: Arduino-Zephyr-API
13+
remove-android: 'true'
14+
- name: Build
7415
run: |
75-
west build -p -b beagleconnect_freedom samples/analog_input
16+
echo "Free space:"
17+
df -h
18+
- name: Checkout
19+
uses: actions/checkout@v3
7620

0 commit comments

Comments
 (0)