From a83c627d8e45b403f3ef64f11fb00cbab74a443b Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Sun, 26 Apr 2020 16:26:19 +0200 Subject: [PATCH] Use GH actions for CI --- .github/workflows/ci.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..9df6681 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,32 @@ +on: [push, pull_request] + +name: Continuous integration + +jobs: + ci: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - stable + - 1.39.0 # MSRV + include: + - rust: nightly + experimental: true + + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + target: thumbv6m-none-eabi + override: true + + - name: Regular build + run: python tools/check.py + + - name: Size check + run: python tools/check.py size_check + +