mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-06-02 04:42:42 +00:00
Create rust.yml
start simple, only build and run tools
This commit is contained in:
parent
b7297fa2ab
commit
76ad146e7e
24
.github/workflows/rust.yml
vendored
Normal file
24
.github/workflows/rust.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: Rust
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: build tools
|
||||||
|
working-directory: ./tools
|
||||||
|
run: cargo build --verbose
|
||||||
|
- name: test tools
|
||||||
|
working-directory: ./tools
|
||||||
|
run: cargo test --verbose
|
Loading…
Reference in a new issue