Skip to content

Commit

Permalink
add basic ci
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Mar 12, 2024
1 parent fe41568 commit 0aeff44
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 0aeff44

Please sign in to comment.