change(ci): Disable beta Rust tests and add parameter download logging (#4930)
* Apply the same Rust logging settings to all GitHub workflows * Enable full optimisations in dev builds for downloading large parameter files * Disable beta Rust tests in CI
This commit is contained in:
parent
5b3422c4a3
commit
52fa867cb8
|
@ -25,6 +25,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
RUST_LOG: info
|
||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
RUST_LIB_BACKTRACE: full
|
RUST_LIB_BACKTRACE: full
|
||||||
COLORBT_SHOW_HIDDEN: '1'
|
COLORBT_SHOW_HIDDEN: '1'
|
||||||
|
|
|
@ -36,6 +36,7 @@ on:
|
||||||
rust_log:
|
rust_log:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
|
default: info
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -36,6 +36,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
RUST_LOG: info
|
||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
RUST_LIB_BACKTRACE: full
|
RUST_LIB_BACKTRACE: full
|
||||||
COLORBT_SHOW_HIDDEN: '1'
|
COLORBT_SHOW_HIDDEN: '1'
|
||||||
|
@ -54,11 +55,14 @@ jobs:
|
||||||
# TODO: Windows was removed for now, see https://github.com/ZcashFoundation/zebra/issues/3801
|
# TODO: Windows was removed for now, see https://github.com/ZcashFoundation/zebra/issues/3801
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
rust: [stable, beta]
|
rust: [stable, beta]
|
||||||
|
exclude:
|
||||||
|
# TODO: re-enable beta Rust tests on ubuntu (#4929)
|
||||||
|
- os: ubuntu-latest
|
||||||
|
rust: beta
|
||||||
# We're excluding macOS for the following reasons:
|
# We're excluding macOS for the following reasons:
|
||||||
# - the concurrent macOS runner limit is much lower than the Linux limit
|
# - the concurrent macOS runner limit is much lower than the Linux limit
|
||||||
# - macOS is slower than Linux, and shouldn't have a build or test difference with Linux
|
# - macOS is slower than Linux, and shouldn't have a build or test difference with Linux
|
||||||
# - macOS is a second-tier Zebra support platform
|
# - macOS is a second-tier Zebra support platform
|
||||||
exclude:
|
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
rust: beta
|
rust: beta
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,7 @@ on:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: 0
|
CARGO_INCREMENTAL: 0
|
||||||
|
RUST_LOG: info
|
||||||
RUST_BACKTRACE: full
|
RUST_BACKTRACE: full
|
||||||
RUST_LIB_BACKTRACE: full
|
RUST_LIB_BACKTRACE: full
|
||||||
COLORBT_SHOW_HIDDEN: '1'
|
COLORBT_SHOW_HIDDEN: '1'
|
||||||
|
|
|
@ -17,6 +17,12 @@ on:
|
||||||
# workflow definitions
|
# workflow definitions
|
||||||
- '.github/workflows/docs.yml'
|
- '.github/workflows/docs.yml'
|
||||||
|
|
||||||
|
env:
|
||||||
|
RUST_LOG: info
|
||||||
|
RUST_BACKTRACE: full
|
||||||
|
RUST_LIB_BACKTRACE: full
|
||||||
|
COLORBT_SHOW_HIDDEN: '1'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build and Deploy Docs (+beta)
|
name: Build and Deploy Docs (+beta)
|
||||||
|
|
|
@ -10,6 +10,13 @@ on:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
|
|
||||||
|
env:
|
||||||
|
CARGO_INCREMENTAL: 0
|
||||||
|
RUST_LOG: info
|
||||||
|
RUST_BACKTRACE: full
|
||||||
|
RUST_LIB_BACKTRACE: full
|
||||||
|
COLORBT_SHOW_HIDDEN: '1'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
changed-files:
|
changed-files:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
22
Cargo.toml
22
Cargo.toml
|
@ -20,6 +20,8 @@ panic = "abort"
|
||||||
|
|
||||||
# Speed up tests by optimizing performance-critical crates
|
# Speed up tests by optimizing performance-critical crates
|
||||||
|
|
||||||
|
# Cryptographic crates
|
||||||
|
|
||||||
[profile.dev.package.blake2b_simd]
|
[profile.dev.package.blake2b_simd]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
||||||
|
@ -41,11 +43,25 @@ opt-level = 3
|
||||||
[profile.dev.package.bls12_381]
|
[profile.dev.package.bls12_381]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
||||||
[profile.dev.package.minreq]
|
# Cryptographic and parameter download crates
|
||||||
opt-level = 1
|
|
||||||
|
|
||||||
[profile.dev.package.zcash_proofs]
|
[profile.dev.package.zcash_proofs]
|
||||||
opt-level = 1
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.dev.package.minreq]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.dev.package.rustls]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.dev.package.ring]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.dev.package.spin]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.dev.package.untrusted]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|
Loading…
Reference in New Issue