2022-12-09 14:13:55 +05:30
|
|
|
pipeline:
|
2022-12-18 21:22:59 +05:30
|
|
|
build_and_test:
|
2022-12-09 14:13:55 +05:30
|
|
|
image: rust
|
|
|
|
commands:
|
2022-12-18 21:12:49 +05:30
|
|
|
- apt update && apt-get -y --no-install-recommends install tar wget
|
2022-12-18 21:22:59 +05:30
|
|
|
- rustup component add rustfmt
|
|
|
|
- rustup component add clippy
|
2022-12-18 21:12:49 +05:30
|
|
|
- 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/
|
2022-12-09 14:13:55 +05:30
|
|
|
- make check
|
|
|
|
- make lint
|
2022-12-18 21:12:49 +05:30
|
|
|
- cd ./libconfig-validator && make check
|
|
|
|
- cd ./libconfig-validator && make lint
|
|
|
|
- cd ./libconfig-validator && make release
|