@@ -12,33 +12,30 @@ 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
19
19
run : |
20
- west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git
20
+ mkdir build && cd build
21
+ west init -m https://github.com/arduino/ArduinoCore-zephyr.git
21
22
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/.
23
+ rm -rf modules/lib/ArduinoCore-zephyr/*
24
+ cp -r ../* modules/lib/ArduinoCore-zephyr || true
25
+ rm modules/lib/ArduinoCore-zephyr/cores/arduino/api
26
+ cp -r modules/lib/ArduinoCore-API/api modules/lib/ArduinoCore-zephyr/cores/arduino/api
24
27
25
28
- name : Build fade
26
- working-directory : Arduino-Zephyr-API
29
+ working-directory : ArduinoCore-zephyr/build
27
30
run : |
28
- west build -p -b arduino_nano_33_ble_sense samples/fade
31
+ west build -p -b arduino_nano_33_ble//sense ../ samples/fade
29
32
30
33
- name : Build i2cdemo
31
- working-directory : Arduino-Zephyr-API
34
+ working-directory : ArduinoCore-zephyr/build
32
35
run : |
33
- west build -p -b arduino_nano_33_ble_sense samples/i2cdemo
36
+ west build -p -b ek_ra8d1 ../ samples/i2cdemo
34
37
35
38
- name : Build adc
36
- working-directory : Arduino-Zephyr-API
39
+ working-directory : ArduinoCore-zephyr/build
37
40
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.*
41
+ west build -p -b arduino_nano_33_ble//sense ../samples/analog_input
0 commit comments