diff options
| author | Dario Nieuwenhuis <[email protected]> | 2021-02-03 05:15:13 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-02-03 05:15:13 +0100 |
| commit | 10cd5bddc91280009d6951e34a67b1a01c7e2166 (patch) | |
| tree | a66730a16751a1565e61b1853b64f660dff23218 /.github | |
| parent | cb5931d583d283dda3a1b5ed2014c086bb8f98ae (diff) | |
Add CI
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/rust.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 000000000..a0eefd3a9 --- /dev/null +++ b/.github/workflows/rust.yml | |||
| @@ -0,0 +1,24 @@ | |||
| 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 | runs-on: ubuntu-latest | ||
| 15 | |||
| 16 | steps: | ||
| 17 | - uses: actions/checkout@v2 | ||
| 18 | - uses: actions-rs/toolchain@v1 | ||
| 19 | with: | ||
| 20 | toolchain: nightly | ||
| 21 | target: thumbv7em-none-eabi | ||
| 22 | override: true | ||
| 23 | - name: Build | ||
| 24 | run: ./test-build.sh | ||
