Skip to content

Commit

Permalink
add github CI test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuszagh committed Nov 19, 2020
1 parent 03ee567 commit 36bdb39
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,26 @@ jobs:
command: build
args: --release --features semihosting

test:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
steps:
- uses: actions/checkout@v2
- name: Install Rust ${{ matrix.toolchain }}
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
- name: cargo test
uses: actions-rs/cargo@v1
with:
command: test
args: --manifest-path lockin/Cargo.toml
# args: --manifest-path lockin/Cargo.toml --target=x86_64-unknown-linux-gnu

# Tell bors about it
# https://github.com/rtic-rs/cortex-m-rtic/blob/8a4f9c6b8ae91bebeea0791680f89375a78bffc6/.github/workflows/build.yml#L566-L603
ci-success:
Expand Down

0 comments on commit 36bdb39

Please sign in to comment.