-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (32 loc) · 916 Bytes
/
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
name: Build for all boards
on:
push:
branches: ["main"]
pull_request:
branches: ["main", "*"]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
board_directory: [
libcrux-nucleo-l4r5zi,
libcrux-nrf52840,
libcrux-nrf52810,
libcrux-nrf52832,
libcrux-nrf5340,
]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
targets: thumbv7em-none-eabihf,thumbv7em-none-eabi,thumbv8m.main-none-eabihf
components: rust-std
- name: Install flip-link
run: cargo install flip-link
- name: Build
working-directory: ${{ matrix.board_directory }}
run: cargo build --verbose