image: archlinux packages: - postgresql - rustup sources: - https://git.sr.ht/~tsumanu/jirs environment: deploy: adrian.wozniak@ita-prog.pl secrets: - 7ebab768-e5e4-4c9d-ba57-ec41a72c5665 tasks: - build_config: | cd jirs/jirs-server cp ~/jirs/.builds/db.toml ~/jirs/jirs-server/db.toml - setup: | 1 rustup toolchain install nightly rustup default nightly cargo install diesel_cli --no-default-features --features postgres cd jirs/jirs-server diesel migration run - test: | cd jirs/jirs-server cargo test --bin jirs_server - build: | cd jirs cargo build --all --release - deploy: | cd jirs