Woodpecker testing
This commit is contained in:
parent
f7e946afa9
commit
2010faadd6
1 changed files with 20 additions and 0 deletions
20
.woodpecker/test.yaml
Normal file
20
.woodpecker/test.yaml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
branch: master
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: debian
|
||||||
|
commands:
|
||||||
|
- apt update
|
||||||
|
- apt install libcmocka-dev -y
|
||||||
|
- apt install gcc -y
|
||||||
|
- apt install make -y
|
||||||
|
- make -j$(nproc) test/test.elf
|
||||||
|
|
||||||
|
- name: run-tests
|
||||||
|
image: debian
|
||||||
|
commands:
|
||||||
|
- apt update
|
||||||
|
- apt install libcmocka0 -y
|
||||||
|
- ./test/test.elf
|
Loading…
Reference in a new issue