rickub/ci-benchpublic Fork 0
acae4f95ec28e6b109e55165077373ea0587870e
Commits
Clone
git clone https://git.rickub.com/rickub/ci-bench.git
git clone ssh://git@rickub.com/rickub/ci-bench.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

ci-bench: cross-platform CI race scaffold (rickub CI vs GitHub Actions) 0baf736Unverified · on acae4f95ec28e6b109e55165077373ea0587870e · Olivier Girardot · yesterday
main.rs · 15 lines · 361 BRust Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
//! Thin CLI wrapper so the workload is runnable as a binary, not just a lib.

use clap::Parser;

use bench_rust_build::{run, Config};

fn main() -> anyhow::Result<()> {
    let cfg = Config::parse();
    let selected = run(cfg.clone())?;
    println!(
        "items/round={} rounds={} selected={}",
        cfg.items, cfg.rounds, selected
    );
    Ok(())
}