33-complete-the-system-states (#35) #39
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
name: ci | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
override: true | |
components: rust-src # Ensure rust-src component is installed | |
target: thumbv6m-none-eabi | |
- name: Add Rust target | |
run: rustup target add thumbv6m-none-eabi | |
- name: Build | |
run: cargo build --target thumbv6m-none-eabi --verbose | |
#- name: Run tests | |
# run: cargo test --verbose --target thumbv6m-none-eabi |