mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-23 20:51:31 +11:00
Move tests into seperate workflow
This commit is contained in:
parent
41c6db6811
commit
691f43c17b
6
.github/workflows/check.yml
vendored
6
.github/workflows/check.yml
vendored
|
@ -2,7 +2,7 @@ on: [push, pull_request]
|
||||||
name: CI Checks
|
name: CI Checks
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
name: Check and Lint
|
name: cargo-check
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -16,7 +16,3 @@ jobs:
|
||||||
with:
|
with:
|
||||||
command: check
|
command: check
|
||||||
args: --workspace
|
args: --workspace
|
||||||
- uses: actions-rs/cargo@v1
|
|
||||||
with:
|
|
||||||
command: test
|
|
||||||
args: --target x86_64-unknown-linux-gnu
|
|
||||||
|
|
19
.github/workflows/tests_host.yml
vendored
Normal file
19
.github/workflows/tests_host.yml
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
on: [push, pull_request]
|
||||||
|
name: On-host tests
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
name: Check and Lint
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
target: thumbv6m-none-eabi
|
||||||
|
override: true
|
||||||
|
profile: minimal
|
||||||
|
## Tests are currently not working on host - disabled until we can find a good solution
|
||||||
|
# - uses: actions-rs/cargo@v1
|
||||||
|
# with:
|
||||||
|
# command: test
|
||||||
|
# args: --target x86_64-unknown-linux-gnu
|
Loading…
Reference in a new issue