diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..46c46d4 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + branches: + - main + tags: + - "v*" + pull_request: + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Build + run: | + cd host + cargo check + + - name: Test + run: | + cd host + cargo test -- --nocapture + + - name: Build examples + run: for i in nrf-sdc; do pushd examples/$i; cargo build --release; popd; done;