libconfig/.woodpecker.yml

25 lines
759 B
YAML

pipeline:
build_and_test:
image: rust
commands:
- apt update && apt-get -y --no-install-recommends install tar wget
- rustup component add rustfmt
- rustup component add clippy
- rustup target add wasm32-unknown-unknown
- wget -qO- https://github.com/thedodd/trunk/releases/download/v0.16.0/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
- mv ./trunk /usr/bin/
- make check
- make lint
- cd ./libconfig-validator && make check
- make lint
- make release
publish:
image: python
when:
event: [ push, pull_request, tag, deployment ]
commands:
- cd ./libconfig-validator/ && make ci-deploy
secrets: [ GITEA_WRITE_DEPLOY_KEY, LIBREPAGES_DEPLOY_SECRET ]