Skip to content

Commit e633778

Browse files
committed
CI: Prepare Rust modules
Adding Rust architecture modules for ensure compilation. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
1 parent 64ad0bb commit e633778

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ jobs:
4040
git clone https://github.com/arduino/ArduinoCore-API.git $MODULE_PATH/../ArduinoCore-API
4141
cp -rfp $MODULE_PATH/../ArduinoCore-API/api $MODULE_PATH/cores/arduino/
4242
43+
- name: Setup Rust toolchain
44+
run: |
45+
apt install rustup
46+
rustup default stable
47+
rustup target add thumbv6m-none-eabi thumbv7em-none-eabihf thumbv7em-none-eabi thumbv7m-none-eabi
48+
4349
- name: Build fade
4450
run: |
4551
west build -p -b arduino_nano_33_ble/nrf52840/sense $MODULE_PATH/samples/fade

0 commit comments

Comments
 (0)