mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 06:11:26 +00:00
Try 15
This commit is contained in:
parent
ddcb88ace5
commit
7e524e86c3
1 changed files with 4 additions and 3 deletions
|
@ -7,13 +7,14 @@ variables:
|
||||||
- &install_pnpm "corepack enable pnpm"
|
- &install_pnpm "corepack enable pnpm"
|
||||||
- &install_binstall "wget -O- https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xvz -C /usr/local/cargo/bin"
|
- &install_binstall "wget -O- https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xvz -C /usr/local/cargo/bin"
|
||||||
- install_diesel_cli: &install_diesel_cli
|
- install_diesel_cli: &install_diesel_cli
|
||||||
- apt update && apt -y install curl lsb-release ca-certificates
|
- apt-get update && apt-get -y install curl lsb-release ca-certificates
|
||||||
# Instructions taken from here: https://www.postgresql.org/download/linux/ubuntu/
|
# Instructions taken from here: https://www.postgresql.org/download/linux/ubuntu/
|
||||||
- install -d /usr/share/postgresql-common/pgdg
|
- install -d /usr/share/postgresql-common/pgdg
|
||||||
- curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
|
- curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
|
||||||
- sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
- sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||||
- apt update
|
- apt-get update
|
||||||
- apt -y install postgresql-client-16
|
- apt-cache search postgresql
|
||||||
|
- apt-get -y install postgresql-client-16
|
||||||
- cargo install diesel_cli --no-default-features --features postgres
|
- cargo install diesel_cli --no-default-features --features postgres
|
||||||
- export PATH="$CARGO_HOME/bin:$PATH"
|
- export PATH="$CARGO_HOME/bin:$PATH"
|
||||||
- &slow_check_paths
|
- &slow_check_paths
|
||||||
|
|
Loading…
Reference in a new issue