-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new clear space Signed-off-by: Dhruva Gole <[email protected]>
- Loading branch information
1 parent
8264fb1
commit ffaaf4b
Showing
1 changed file
with
4 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,74 +3,16 @@ name: Build | |
on: [push, pull_request] | ||
|
||
jobs: | ||
free-disk-space: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: false | ||
|
||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: true | ||
swap-storage: true | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
container: zephyrprojectrtos/ci:latest | ||
env: | ||
CMAKE_PREFIX_PATH: /opt/toolchains | ||
steps: | ||
|
||
- name: Free Disk Space (Ubuntu) | ||
uses: jlumbroso/free-disk-space@main | ||
uses: AdityaGarg8/[email protected] | ||
with: | ||
# this might remove tools that are actually needed, | ||
# if set to "true" but frees about 6 GB | ||
tool-cache: false | ||
|
||
# all of these default to true, but feel free to set to | ||
# "false" if necessary for your workflow | ||
android: true | ||
dotnet: true | ||
haskell: true | ||
large-packages: true | ||
docker-images: true | ||
swap-storage: true | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
path: Arduino-Zephyr-API | ||
|
||
- name: Initialize | ||
working-directory: Arduino-Zephyr-API | ||
run: | | ||
west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git | ||
west update | ||
git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API | ||
cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/. | ||
- name: Build fade | ||
working-directory: Arduino-Zephyr-API | ||
run: | | ||
west build -p -b arduino_nano_33_ble_sense samples/fade | ||
- name: Build i2cdemo | ||
working-directory: Arduino-Zephyr-API | ||
run: | | ||
west build -p -b arduino_nano_33_ble_sense samples/i2cdemo | ||
- name: Build adc | ||
working-directory: Arduino-Zephyr-API | ||
run: | | ||
west build -p -b beagleconnect_freedom samples/analog_input | ||
remove-android: 'true' | ||
|
||
- name: Checkout | ||
run: echo "Hello World!" |