-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
on: | ||
push: | ||
branches: [ staging, trying, master ] | ||
pull_request: | ||
|
||
name: CI | ||
|
||
jobs: | ||
ci-linux: | ||
runs-on: ubuntu-latest | ||
continue-on-error: ${{ matrix.experimental || false }} | ||
strategy: | ||
matrix: | ||
rust: [ stable, nightly ] | ||
include: | ||
# Nightly is only for reference and allowed to fail | ||
- rust: nightly | ||
experimental: true | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
- uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ matrix.rust }} | ||
targets: thumbv7em-none-eabihf,riscv32imac-unknown-none-elf | ||
|
||
- name: Build examples (BlackPill F401) | ||
run: cd example-f401-board && cargo build --release --bins --examples | ||
|
||
- name: Build examples (NUCLEO-F429ZI FullSpeed) | ||
run: cd example-f429zi-board && cargo build --release --bins --examples --features fs | ||
- name: Build examples (NUCLEO-F429ZI HighSpeed) | ||
run: cd example-f429zi-board && cargo build --release --bins --examples --features hs | ||
|
||
- name: Build examples (NUCLEO-F446RE FullSpeed) | ||
run: cd example-f446re-board && cargo build --release --bins --examples --features fs | ||
- name: Build examples (NUCLEO-F446RE HighSpeed) | ||
run: cd example-f446re-board && cargo build --release --bins --examples --features hs | ||
|
||
- name: Build examples (NUCLEO-F446ZE FullSpeed) | ||
run: cd example-f446ze-board && cargo build --release --bins --examples --features fs | ||
- name: Build examples (NUCLEO-F446ZE HighSpeed) | ||
run: cd example-f446ze-board && cargo build --release --bins --examples --features hs | ||
|
||
- name: Build examples (32F723EDISCOVERY FullSpeed) | ||
run: cd example-f723e-disco-board && cargo build --release --bins --examples --features fs | ||
- name: Build examples (32F723EDISCOVERY HighSpeed) | ||
run: cd example-f723e-disco-board && cargo build --release --bins --examples --features hs | ||
|
||
- name: Build examples (LonganNano) | ||
run: cd example-longan-nano-board && cargo build --release --bins --examples | ||
|
||
- name: Build examples (STLINK-V3 FullSpeed) | ||
run: cd example-stlinkv3-board && cargo build --release --bins --examples --features fs | ||
- name: Build examples (STLINK-V3 HighSpeed) | ||
run: cd example-stlinkv3-board && cargo build --release --bins --examples --features hs | ||
|
||
- name: Build examples (XCore407I FullSpeed) | ||
run: cd example-xcore407i-board && cargo build --release --bins --examples --features fs | ||
- name: Build examples (XCore407I HighSpeed) | ||
run: cd example-xcore407i-board && cargo build --release --bins --examples --features hs |