@@ -12,33 +12,29 @@ jobs:
12
12
- name : Checkout
13
13
uses : actions/checkout@v4
14
14
with :
15
- path : Arduino-Zephyr-API
15
+ path : ArduinoCore-zephyr
16
16
17
17
- name : Initialize
18
- working-directory : Arduino-Zephyr-API
18
+ working-directory : ArduinoCore-zephyr/build
19
19
run : |
20
20
west init -m https://github.com/arduino/ArduinoCore-zephyr.git
21
21
west update
22
- git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API
23
- cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
22
+ rm -rf modules/lib/ArduinoCore-zephyr/*
23
+ cp -r ../* modules/lib/ArduinoCore-zephyr || true
24
+ rm modules/lib/ArduinoCore-zephyr/cores/arduino/api
25
+ cp -r modules/lib/ArduinoCore-API/api modules/lib/ArduinoCore-zephyr/cores/arduino/api
24
26
25
27
- name : Build fade
26
28
working-directory : Arduino-Zephyr-API
27
29
run : |
28
- west build -p -b arduino_nano_33_ble//sense samples/fade
30
+ west build -p -b arduino_nano_33_ble//sense ../ samples/fade
29
31
30
32
- name : Build i2cdemo
31
33
working-directory : Arduino-Zephyr-API
32
34
run : |
33
- west build -p -b arduino_nano_33_ble//sense samples/i2cdemo
35
+ west build -p -b ek_ra8d1 ../ samples/i2cdemo
34
36
35
37
- name : Build adc
36
38
working-directory : Arduino-Zephyr-API
37
39
run : |
38
- west build -p -b beagleconnect_freedom samples/analog_input
39
-
40
- - name : Archive firmware
41
- uses : actions/upload-artifact@v3
42
- with :
43
- name : firmware
44
- path : Arduino-Zephyr-API/build/zephyr/zephyr.*
40
+ west build -p -b arduino_giga_r1//m7 ../samples/analog_input
0 commit comments