File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ # Build the rust samples and tests using the current Zephyr.
4
+
5
+ on :
6
+ push :
7
+ pull_request :
8
+ schedule :
9
+ - cron : " 0 0 * * *"
10
+
11
+ jobs :
12
+ build :
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ os : [ubuntu-22.04]
17
+ runs-on : ${{ matrix.os }}
18
+ steps :
19
+ - name : Checkout
20
+ uses : actions/checkout@v4
21
+ with :
22
+ path : zephyr-rust-lang
23
+
24
+ - name : Set up Python
25
+ uses : actions/setup-python@v5
26
+ with :
27
+ python-version : 3.11
28
+
29
+ - name : Setup Zephyr project
30
+ uses : zephyrproject-rtos/action-zephyr-setup@v1
31
+ with :
32
+ app-path : zephyr-rust-lang
33
+ toolchains : arm-zephyr-eabi
34
+ # TODO: Also bring in riscv.
35
+
36
+ - name : Build firmware
37
+ working-directory : zephyr-rust-lang
38
+ shell : bash
39
+ run : |
40
+ set -x
41
+ pwd
42
+ echo $ZEPHYR_BASE
43
+ df -h
44
+ cargo --version
You can’t perform that action at this time.
0 commit comments