Skip to content

Commit 49e8d65

Browse files
committed
No more docker
Signed-off-by: Dhruva Gole <[email protected]>
1 parent 0877c93 commit 49e8d65

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/build.yml

+13-5
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,24 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-24.04
8-
container: zephyrprojectrtos/ci:latest
9-
env:
10-
CMAKE_PREFIX_PATH: /opt/toolchains
7+
runs-on: ubuntu-latest
118
steps:
129
- name: Checkout
1310
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: zephyr
23+
toolchains: all
24+
1725
- name: Initialize
1826
working-directory: Arduino-Zephyr-API
1927
run: |
@@ -23,7 +31,7 @@ jobs:
2331
cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
2432
2533
- name: Build fade
26-
working-directory: Arduino-Zephyr-API
34+
working-directory: Arduino-Zephyr-API/modules/lib/Arduino-Zephyr-API
2735
run: |
2836
west build -p -b arduino_nano_33_ble_sense samples/fade
2937

0 commit comments

Comments
 (0)