File tree 1 file changed +20
-12
lines changed
1 file changed +20
-12
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,35 @@ 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
- west init -m https://github.com/zephyrproject-rtos/gsoc-2022-arduino-core.git
21
- west update
22
28
git clone https://github.com/arduino/ArduinoCore-API.git ArduinoCore-API
23
- cp -r ArduinoCore-API/api modules/lib/Arduino-Zephyr-API/cores/arduino/.
29
+ ls -la
30
+ tree .
31
+ cp -r ArduinoCore-API/api cores/arduino/.
32
+
33
+ - name : Build adc
34
+ working-directory : Arduino-Zephyr-API
35
+ run : |
36
+ west build -p -b beagleconnect_freedom samples/analog_input
24
37
25
38
- name : Build fade
26
39
working-directory : Arduino-Zephyr-API
32
45
run : |
33
46
west build -p -b arduino_nano_33_ble_sense samples/i2cdemo
34
47
35
- - name : Build adc
36
- working-directory : Arduino-Zephyr-API
37
- run : |
38
- west build -p -b beagleconnect_freedom samples/analog_input
39
-
40
48
- name : Archive firmware
41
49
uses : actions/upload-artifact@v2
42
50
with :
You can’t perform that action at this time.
0 commit comments