Skip to content

Commit 33b18a3

Browse files
committed
github: workflow: build: stop archiving firmwares
This causes the ci to fill up space, hence stop archiving firmwares Signed-off-by: Dhruva Gole <[email protected]>
1 parent a678711 commit 33b18a3

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

.github/workflows/build.yml

+13-6
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,22 @@ on: [push, pull_request]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
container: zephyrprojectrtos/ci:latest
98
env:
109
CMAKE_PREFIX_PATH: /opt/toolchains
1110
steps:
11+
- name: Free disk
12+
run: |
13+
df -h
14+
sudo apt-get -qq purge build-essential ghc*
15+
sudo apt-get clean
16+
df -h
17+
/usr/bin/docker system prune -af
18+
sudo mkdir /mnt/ccache
19+
mkdir ${{ env.CCACHE_DIR }}
20+
sudo mount --bind ${{ env.CCACHE_DIR }} /mnt/ccache
21+
sudo rm -rf /usr/local/*
22+
df -h
23+
1224
- name: Checkout
1325
uses: actions/checkout@v2
1426
with:
@@ -37,8 +49,3 @@ jobs:
3749
run: |
3850
west build -p -b beagleconnect_freedom samples/analog_input
3951
40-
- name: Archive firmware
41-
uses: actions/upload-artifact@v2
42-
with:
43-
name: firmware
44-
path: Arduino-Zephyr-API/build/zephyr/zephyr.*

0 commit comments

Comments
 (0)