buildfiles pt6
This commit is contained in:
parent
9256ff3eb8
commit
2599d56477
|
@ -19,10 +19,15 @@ tasks:
|
|||
cargo install sqlx-cli
|
||||
/home/build/.cargo/bin/sqlx database create
|
||||
/home/build/.cargo/bin/sqlx mig run
|
||||
sudo -u postgres pg_ctl stop -D /var/lib/postgresql/data
|
||||
- check: |
|
||||
sudo -u postgres pg_ctl start -D /var/lib/postgresql/data
|
||||
cd /home/build/trifid
|
||||
cargo check --locked
|
||||
cargo clippy --locked
|
||||
sudo -u postgres pg_ctl stop -D /var/lib/postgresql/data
|
||||
- build: |
|
||||
sudo -u postgres pg_ctl start -D /var/lib/postgresql/data
|
||||
cd /home/build/trifid
|
||||
cargo build --locked
|
||||
cargo build --locked
|
||||
sudo -u postgres pg_ctl stop -D /var/lib/postgresql/data
|
Loading…
Reference in New Issue