tui: the Cuprate start path answers get_info, and the Linux TUI includes it #177
3 changed files with 10 additions and 5 deletions
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.
commit
14a0d22b20
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ jobs:
|
|||
"$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 pkg-config libssl-dev \
|
||||
&& apt-get install -y --no-install-recommends pkg-config libssl-dev cmake build-essential \
|
||||
&& rustup toolchain install nightly --profile minimal \
|
||||
&& rustup default nightly \
|
||||
&& cargo install cargo-fuzz --locked \
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ jobs:
|
|||
"$RUST_IMAGE" \
|
||||
sh -euxc 'mkdir -p /src && tar xzf - -C /src && cd /src \
|
||||
&& apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true update \
|
||||
&& apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true install -y --no-install-recommends pkg-config libssl-dev \
|
||||
&& apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true install -y --no-install-recommends pkg-config libssl-dev cmake build-essential \
|
||||
&& cargo build --release --locked \
|
||||
&& strip /target/release/onionwire \
|
||||
&& ls -l /target/release/onionwire'
|
||||
|
|
@ -301,7 +301,7 @@ jobs:
|
|||
"$RUST_IMAGE" \
|
||||
sh -euxc 'mkdir -p /src && tar xzf - -C /src && cd /src \
|
||||
&& apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true update \
|
||||
&& apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true install -y --no-install-recommends pkg-config libssl-dev \
|
||||
&& apt-get -o Acquire::Retries=5 -o Acquire::http::Timeout=20 -o Acquire::https::Timeout=20 -o Acquire::ForceIPv4=true install -y --no-install-recommends pkg-config libssl-dev cmake build-essential \
|
||||
&& cargo build --release --locked \
|
||||
&& strip /target/release/onionwire \
|
||||
&& ls -l /target/release/onionwire'
|
||||
|
|
|
|||
Loading…
Reference in a new issue