diff --git a/.woodpecker/test.yaml b/.woodpecker/test.yaml new file mode 100644 index 0000000..9eece92 --- /dev/null +++ b/.woodpecker/test.yaml @@ -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