Added test workflow file
Some checks failed
ci/woodpecker/push/workflow Pipeline failed

This commit is contained in:
2025-09-30 20:17:47 +03:00
committed by Emin Arslan
parent 6f58051284
commit 48a5bf6ee5

18
.woodpecker/workflow.yaml Normal file
View File

@@ -0,0 +1,18 @@
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
- cd build
- cmake ..
- make
- name: test
image: ubuntu
commands:
# TODO: Probably make actual tests at some point
- echo "(print 42)" | ./main
# TODO: add publish step, when we're at a working state.