Include LLD and Clang in CI

This commit is contained in:
Nick Bland 2024-03-18 14:22:29 +10:00
parent 6c61b8aebb
commit 3af184dee5

View File

@ -28,7 +28,7 @@ default:
- export PATH="$CARGO_HOME/bin:$PATH" - export PATH="$CARGO_HOME/bin:$PATH"
- rustc --version - rustc --version
- cargo --version - cargo --version
- apt update -yq && apt-get install -yq postgresql-client clang - apt update -yq && apt-get install -yq postgresql-client lld clang
- if ! [ -x "$(command -v cargo-sqlx)" ]; then cargo install --version='~0.7' sqlx-cli --no-default-features --features rustls,postgres; fi - if ! [ -x "$(command -v cargo-sqlx)" ]; then cargo install --version='~0.7' sqlx-cli --no-default-features --features rustls,postgres; fi
- SKIP_DOCKER=true ./scripts/init_db.sh - SKIP_DOCKER=true ./scripts/init_db.sh
# This is to ensure that the database is reachable and give it some time to initialize. # This is to ensure that the database is reachable and give it some time to initialize.