File tree 1 file changed +20
-10
lines changed
1 file changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,37 @@ on: [push, pull_request]
5
5
jobs :
6
6
build :
7
7
runs-on : ubuntu-latest
8
- container : zephyrprojectrtos/ci:latest
9
- env :
10
- CMAKE_PREFIX_PATH : /opt/toolchains
11
8
steps :
12
9
- name : Checkout
13
- uses : actions/checkout@v2
10
+ uses : actions/checkout@v4
14
11
with :
15
12
path : Arduino-Zephyr-API
16
13
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
+
17
25
- name : Initialize
18
26
working-directory : Arduino-Zephyr-API
19
27
run : |
20
28
west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git
21
29
west update
22
30
git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API
23
- cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
31
+ ls -la
32
+ tree .
33
+ cp -r ArduinoCore-API/api cores/arduino/.
34
+
35
+ - name : Build adc
36
+ working-directory : Arduino-Zephyr-API
37
+ run : |
38
+ west build -p -b beagleconnect_freedom samples/analog_input
24
39
25
40
- name : Build fade
26
41
working-directory : Arduino-Zephyr-API
32
47
run : |
33
48
west build -p -b arduino_nano_33_ble_sense samples/i2cdemo
34
49
35
- - name : Build adc
36
- working-directory : Arduino-Zephyr-API
37
- run : |
38
- west build -p -b beagleconnect_freedom samples/analog_input
39
-
40
50
- name : Archive firmware
41
51
uses : actions/upload-artifact@v2
42
52
with :
You can’t perform that action at this time.
0 commit comments