Try installing mysql and postgres 4.

This commit is contained in:
Dessalines 2024-05-16 12:05:29 -04:00
parent b556975e93
commit 0c9124e94f

View file

@ -29,12 +29,12 @@ variables:
- tar -xvf cargo-binstall-x86_64-unknown-linux-musl.tgz
- cp cargo-binstall /usr/local/cargo/bin
- install_diesel_cli: &install_diesel_cli
- cargo binstall -y diesel_cli
- export PATH="$CARGO_HOME/bin:$PATH"
- 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'
- 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:
prepare_repo: