mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-11 13:39:25 +00:00
* begin to setup ci * attempt to fix build * fix paths in build script * fix * satisfy clippy * update fmt check to use nightly * use nightly for build * fmt * fix fmt install * update test script * try to fix fmt * merge w develop * maybe fix build script * install wasm toolchain * install solc-select, use stable rust to build * Correct clippy warnings Currently intended to be done with: cargo clippy --features "recommended merlin batch serialize experimental ed25519 ristretto p256 secp256k1 multisig" -- -A clippy::type_complexity -A dead_code * Remove try-runtime I tried to get this to work for an hour. I have no idea why it doesn't, yet it doesn't. * Rewrite workflow Splits tasks into a more modular structure. Also uses actions-rs/toolchain. * Add a cache * Immediately try building ETH/Monero while this is fixed Adds solc-select use. * Revert selective advance building of ETH/XMR ETH builds now, so it hopefully should work now. Also moves from on push to on push to develop. * Install Monero runtime dependencies Specify missing Rust toolchain setting. * Correct multi-line commands * Fix multi-line commands again Cache Ethereum artifacts. * Add Foundry * Move Clippy under build * Minimal rustup Adds wasm Clippy. Puts Clippy before build. * Use nightly clippy * Remove old clippy call from under build * Have the Monero build script support ARCH specification Requirement for CI. * Add WASM toolchain to tests * Remove Ethereum cache which did not work as needed * Remove extraneous quotes which broke builds on Arch Co-authored-by: Luke Parker <lukeparker5132@gmail.com>
46 lines
1001 B
Rust
46 lines
1001 B
Rust
use sc_cli::RunCmd;
|
|
|
|
#[derive(Debug, clap::Parser)]
|
|
pub struct Cli {
|
|
#[clap(subcommand)]
|
|
pub subcommand: Option<Subcommand>,
|
|
|
|
#[clap(flatten)]
|
|
pub run: RunCmd,
|
|
}
|
|
|
|
#[derive(Debug, clap::Subcommand)]
|
|
pub enum Subcommand {
|
|
/// Key management CLI utilities
|
|
#[clap(subcommand)]
|
|
Key(sc_cli::KeySubcommand),
|
|
|
|
/// Build a chain specification
|
|
BuildSpec(sc_cli::BuildSpecCmd),
|
|
|
|
/// Validate blocks
|
|
CheckBlock(sc_cli::CheckBlockCmd),
|
|
|
|
/// Export blocks
|
|
ExportBlocks(sc_cli::ExportBlocksCmd),
|
|
|
|
/// Export the state of a given block into a chain spec
|
|
ExportState(sc_cli::ExportStateCmd),
|
|
|
|
/// Import blocks
|
|
ImportBlocks(sc_cli::ImportBlocksCmd),
|
|
|
|
/// Remove the entire chain
|
|
PurgeChain(sc_cli::PurgeChainCmd),
|
|
|
|
/// Revert the chain to a previous state
|
|
Revert(sc_cli::RevertCmd),
|
|
|
|
/// Sub-commands concerned with benchmarking
|
|
#[clap(subcommand)]
|
|
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
|
|
|
/// DB meta columns information
|
|
ChainInfo(sc_cli::ChainInfoCmd),
|
|
}
|