GTubeK/.woodpecker.yml

24 lines
495 B
YAML

pipeline:
build:
when:
event: [push, pull_request]
image: ghcr.io/13hannes11/gtk4-rs-docker:latest-appimage
commands:
- cargo update
- cargo build
- cargo test
- echo "Done building!"
gzip:
when:
event: [push]
image: rust:latest
commands:
- mkdir ../artifact
- mv target/debug ../artifact
- tar -c -z -v -f gtubek-dev.tar.gz ../artifact
#upload:
#when:
#event: [push]
#image: