ci: install cmake for the default Cuprate build
RandomX's cmake-rs build script panics with "is cmake not installed?" in the rust:bookworm job container once cuprate-daemon is a default feature. Install cmake and build-essential in the root test, release, and fuzz containers. Android jobs already did this.
This commit is contained in:
parent
a466c43764
commit
14a0d22b20
3 changed files with 10 additions and 5 deletions
|
|
@ -116,6 +116,8 @@ jobs:
|
|||
-w /src \
|
||||
"$RUST_IMAGE" \
|
||||
sh -euxc 'mkdir -p /src /target/tmp && tar xzf - -C /src && cd /src \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y --no-install-recommends cmake build-essential \
|
||||
&& rustup component add clippy \
|
||||
&& cargo test --locked \
|
||||
&& cargo clippy --locked --all-targets -- -D warnings'
|
||||
|
|
@ -131,8 +133,11 @@ jobs:
|
|||
# `v*.*.*` — while both the root suites and local `cargo test` stay green.
|
||||
# Build it here.
|
||||
#
|
||||
# The root `test` job no longer installs `pkg-config`/`libssl-dev` — the root
|
||||
# crate defaults to Arti's rustls backend, so TLS needs no system OpenSSL.
|
||||
# The root `test` job installs `cmake` and `build-essential` (g++, make) because
|
||||
# the default feature set includes `cuprate-daemon`. RandomX's build script
|
||||
# calls cmake; without it the job dies with "is cmake not installed?" (os error 2).
|
||||
# It still does not install `pkg-config`/`libssl-dev` — the root crate defaults
|
||||
# to Arti's rustls backend, so TLS needs no system OpenSSL.
|
||||
# The `rusqlite` `bundled-sqlcipher-vendored-openssl` feature that both jobs
|
||||
# use compiles OpenSSL from source, which needs `perl` and `make` (present in
|
||||
# the `rust:*-bookworm` image), not the `-dev` headers. This job keeps the
|
||||
|
|
|
|||
Loading…
Reference in a new issue