Skip to content

Commit 7abbcd9

Browse files
committed
follow the example hello world
Signed-off-by: Dhruva Gole <[email protected]>
1 parent 3538c54 commit 7abbcd9

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/build.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,26 @@ on: [push, pull_request]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
8-
container: zephyrprojectrtos/ci:latest
9-
env:
10-
CMAKE_PREFIX_PATH: /opt/toolchains
118
steps:
129
- name: Checkout
13-
uses: actions/checkout@v2
10+
uses: actions/checkout@v4
1411
with:
1512
path: Arduino-Zephyr-API
1613

14+
- name: Set up Python
15+
uses: actions/setup-python@v5
16+
with:
17+
python-version: 3.11
18+
19+
- name: Setup Zephyr project
20+
uses: zephyrproject-rtos/action-zephyr-setup@v1
21+
with:
22+
app-path: Arduino-Zephyr-API
23+
toolchains: arm-zephyr-eabi
24+
1725
- name: Initialize
1826
working-directory: Arduino-Zephyr-API
1927
run: |
20-
west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git
21-
west update
2228
git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API
2329
cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
2430

0 commit comments

Comments
 (0)