-
-
Notifications
You must be signed in to change notification settings - Fork 61
64 lines (60 loc) · 2.16 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
name: Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install target
run: rustup target add thumbv7em-none-eabihf thumbv6m-none-eabi thumbv7em-none-eabi
- name: Build rmk
working-directory: ./rmk
run: cargo build --release
- name: Build rp2040
working-directory: ./examples/use_rust/rp2040
run: cargo build --release
- name: Build rp2040 with config
working-directory: ./examples/use_config/rp2040
run: cargo build --release
- name: Build stm32h7
working-directory: ./examples/use_rust/stm32h7
run: cargo build --release
- name: Build stm32h7 with config
working-directory: ./examples/use_config/stm32h7
run: cargo build --release
- name: Build stm32f1
working-directory: ./examples/use_rust/stm32f1
run: cargo build --release
- name: Build stm32f1 with config
working-directory: ./examples/use_config/stm32f1
run: cargo build --release
- name: Build stm32f4
working-directory: ./examples/use_rust/stm32f4
run: cargo build --release
- name: Build stm32f4 with config
working-directory: ./examples/use_config/stm32f4
run: cargo build --release
- name: Build nrf52840
working-directory: ./examples/use_rust/nrf52840
run: cargo build --release
- name: Build nrf52840_ble
working-directory: ./examples/use_rust/nrf52840_ble
run: cargo build --release
- name: Build nrf52832_ble
working-directory: ./examples/use_rust/nrf52832_ble
run: cargo build --release
- name: Build nrf52840 with config
working-directory: ./examples/use_config/nrf52840_usb
run: cargo build --release
- name: Build nrf52840_ble with config
working-directory: ./examples/use_config/nrf52840_ble
run: cargo build --release
- name: Build nrf52832_ble with config
working-directory: ./examples/use_config/nrf52832_ble
run: cargo build --release