Files
mash/.woodpecker/workflow.yaml
haxala1r 8fc3e82173
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
Added testing with Catch2
2025-09-30 21:46:26 +03:00

20 lines
528 B
YAML

when:
- event: push
- event: tag
steps:
- name: build
image: gcc:latest
commands: # we probably shouldn't install cmake every time
- apt update && apt install -y cmake
- mkdir -p build/ && cd build
- cmake ..
- make
- name: test
image: ubuntu
commands:
# Automated tests, this should not fail
- ./test
# Manual test, you can see the output of this in woodpecker
- echo "(print 42)" | ./build/main
# TODO: add publish step, when we're at a working state.