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