mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Try installing mysql and postgres 4.
This commit is contained in:
parent
b556975e93
commit
0c9124e94f
@ -29,12 +29,12 @@ variables:
|
|||||||
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
|
||||||
- cp cargo-binstall /usr/local/cargo/bin
|
- cp cargo-binstall /usr/local/cargo/bin
|
||||||
- install_diesel_cli: &install_diesel_cli
|
- install_diesel_cli: &install_diesel_cli
|
||||||
- cargo binstall -y diesel_cli
|
|
||||||
- export PATH="$CARGO_HOME/bin:$PATH"
|
|
||||||
- apt update && apt install -y lsb-release
|
- apt update && apt install -y lsb-release
|
||||||
- sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
- sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||||
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
|
||||||
- apt update && apt install -y postgresql-client-16 default-libmysqlclient-dev
|
- apt update && apt install -y postgresql-client-16 default-libmysqlclient-dev libmysqlclient-dev
|
||||||
|
- cargo binstall -y diesel_cli
|
||||||
|
- export PATH="$CARGO_HOME/bin:$PATH"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
prepare_repo:
|
prepare_repo:
|
||||||
|
Loading…
Reference in New Issue
Block a user