Skip to content
Snippets Groups Projects
Unverified Commit 1cd6224e authored by lucazulian's avatar lucazulian
Browse files

ci: change steps

parent 60c633ee
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install target
run: rustup target add thumbv7em-none-eabihf
- name: Build
run: cargo build --target thumbv7em-none-eabihf --release
- name: Run tests
run: cargo test --verbose
\ No newline at end of file
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
target: thumbv7em-none-eabihf
override: true
- name: build
uses: actions-rs/cargo@v1
with:
use-cross: true
command: build
args: --verbose --release --target thumbv7em-none-eabihf --features rt,unproven,stm32l432
- name: test
uses: actions-rs/cargo@v1
with:
command: test
args: --lib --target x86_64-unknown-linux-gnu --features rt,unproven,stm32l432
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment