diff options
| author | Dario Nieuwenhuis <[email protected]> | 2020-10-31 23:03:46 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2020-10-31 23:03:46 +0100 |
| commit | 7ddfeafc84827b38956e91fa25e7d4d3a7621380 (patch) | |
| tree | caf398fa2cd53bc76d0b46eb5a0c545f1a0460c8 /.github/workflows | |
| parent | 0643095695949c2ce42312c353cb5e9510ca4618 (diff) | |
Add CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/rust.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 000000000..b2505e80d --- /dev/null +++ b/.github/workflows/rust.yml | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | name: Rust | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [ master ] | ||
| 6 | pull_request: | ||
| 7 | branches: [ master ] | ||
| 8 | |||
| 9 | env: | ||
| 10 | CARGO_TERM_COLOR: always | ||
| 11 | |||
| 12 | jobs: | ||
| 13 | build: | ||
| 14 | |||
| 15 | runs-on: ubuntu-latest | ||
| 16 | |||
| 17 | steps: | ||
| 18 | - uses: actions/checkout@v2 | ||
| 19 | - uses: actions-rs/toolchain@v1 | ||
| 20 | with: | ||
| 21 | toolchain: nightly | ||
| 22 | target: thumbv7em-none-eabihf | ||
| 23 | override: true | ||
| 24 | - name: Build | ||
| 25 | run: ./test-build.sh | ||
