Files
mash/.woodpecker/workflow.yaml
haxala1r 15176cdbf6
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
Change CMakeLists.txt to expect Catch2 in system path to speed up builds
2025-10-02 18:08:22 +03:00

20 lines
585 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 catch2
- mkdir -p build/ && cd build
- cmake .. --toolchain ../toolchain/sanitize.cmake
- make
- name: test
image: gcc:latest
commands:
# Automated tests, this should not fail
- ./build/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.