libconfig/.woodpecker.yml
Aravinth Manivannan fd47aab06a
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: cd once into ./libconfig-validator
2022-12-18 21:46:52 +05:30

24 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 ]