1
0
Fork 1
mirror of https://github.com/MingweiSamuel/Riven.git synced 2025-04-17 03:13:16 -07:00
Riven/test-full.bash
Mingwei Samuel 88fd078b3d
fix & test docs, cleanup CI, cleanup Cargo.toml, regen ()
- Set `RUST_BACKTRACE = "full"`, `RUST_LOG = "info,riven=debug"` in
`.cargo/config.toml` instead of everywhere
- Remove unmaintained `actions-rs` from CI
- Use `#[doc = include_str!(...)]` for including README.md in lib.rs,
instead of awkward codegen
- Update README.md features: `metrics`, clarify `log`/`tracing`,
development testing note
- `Cargo.toml` add `[target.'cfg(docsrs_deps)'.dependencies]` for
doc-linked deps.
- `Cargo.toml` do not include example proxy in publish
- Cleanup `.vscode/settings.json`
- Regen for `crate::consts::TournamentRegion` back in use
2025-03-18 16:31:14 -07:00

16 lines
494 B
Bash
Executable file

#!/bin/bash
set -euxo pipefail
# Ensure stable builds.
cargo +stable check --all-targets --features riven/__proxy
cargo +stable check --all-targets --features riven/metrics,riven/tracing,riven/__proxy
# Ensure nightly builds.
cargo check --all-targets --features riven/nightly,riven/metrics,riven/tracing,riven/__proxy
cargo build --all-targets --features riven/nightly,riven/deny-unknown,riven/eserde,riven/__proxy
# Run nightly tests.
bash test.bash
# Run wasm tests.
bash test-wasm.bash