ringbuf/.woodpecker/test.yaml

22 lines
453 B
YAML
Raw Normal View History

2024-12-25 19:19:28 +01:00
when:
- event: push
branch: master
2024-12-25 19:19:28 +01:00
steps:
- name: build
image: debian
commands:
2024-12-25 19:38:23 +01:00
- apt update
2024-12-25 19:39:17 +01:00
- apt install libcmocka-dev -y
2024-12-25 19:46:03 +01:00
- apt install gcc -y
- apt install make -y
- make -j$(nproc) test/test.elf
2024-12-25 19:36:52 +01:00
- echo "echo hello" > executable.sh
- chmod +x executable.sh
2024-12-25 19:19:28 +01:00
- name: a-test-step
image: golang:1.16
commands:
2024-12-25 19:46:03 +01:00
- ./test/test.elf
2024-12-25 19:19:28 +01:00
- echo "Testing ..."
2024-12-25 19:36:52 +01:00
- ./executable.sh