create local dev database for sqlx to compile in ci
This commit is contained in:
parent
68da60e17b
commit
cc4813afd6
|
@ -8,8 +8,6 @@ sources:
|
||||||
- https://git.e3t.cc/~core/trifid
|
- https://git.e3t.cc/~core/trifid
|
||||||
tasks:
|
tasks:
|
||||||
- setup: |
|
- setup: |
|
||||||
mkdir /run/postgresql
|
|
||||||
chown postgres:postgres /run/postgresql/
|
|
||||||
su postgres -c mkdir /var/lib/postgresql/data
|
su postgres -c mkdir /var/lib/postgresql/data
|
||||||
su postgres -c chmod 0700 /var/lib/postgresql/data
|
su postgres -c chmod 0700 /var/lib/postgresql/data
|
||||||
su postgres -c initdb -D /var/lib/postgresql/data
|
su postgres -c initdb -D /var/lib/postgresql/data
|
||||||
|
|
Loading…
Reference in New Issue