From 28a014e014972cc31b8e0fc06d35546ab2af0cc4 Mon Sep 17 00:00:00 2001 From: gamma0987 <148682378+gamma0987@users.noreply.github.com> Date: Mon, 16 Feb 2026 17:31:19 +0000 Subject: [PATCH] Add gungraun-runner (#1520) --- .github/.cspell/project-dictionary.txt | 1 + TOOLS.md | 3 +- main.sh | 3 +- manifests/gungraun-runner.json | 98 ++++++++++++++++++++ tools/codegen/base/gungraun-runner.json | 16 ++++ tools/codegen/base/iai-callgrind-runner.json | 2 +- 6 files changed, 120 insertions(+), 3 deletions(-) create mode 100644 manifests/gungraun-runner.json create mode 100644 tools/codegen/base/gungraun-runner.json diff --git a/.github/.cspell/project-dictionary.txt b/.github/.cspell/project-dictionary.txt index fb0d9342..c99a1675 100644 --- a/.github/.cspell/project-dictionary.txt +++ b/.github/.cspell/project-dictionary.txt @@ -13,6 +13,7 @@ epel espup fastestmirror grcov +gungraun insta knope libicu diff --git a/TOOLS.md b/TOOLS.md index dadb34f5..9a4ef85e 100644 --- a/TOOLS.md +++ b/TOOLS.md @@ -53,8 +53,9 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho | [**espup**](https://github.com/esp-rs/espup) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/esp-rs/espup/releases) | Linux, macOS, Windows | [MIT](https://github.com/esp-rs/espup/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/esp-rs/espup/blob/main/LICENSE-APACHE) | | [**git-cliff**](https://github.com/orhun/git-cliff) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/orhun/git-cliff/releases) | Linux, macOS, Windows | [MIT](https://github.com/orhun/git-cliff/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/orhun/git-cliff/blob/main/LICENSE-APACHE) | | [**grcov**](https://github.com/mozilla/grcov) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/mozilla/grcov/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/mozilla/grcov/blob/HEAD/LICENSE-MPL-2.0) | +| [**gungraun-runner**](https://gungraun.github.io/gungraun/) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/gungraun/gungraun/releases) | Linux | [Apache-2.0](https://github.com/gungraun/gungraun/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/gungraun/gungraun/blob/main/LICENSE-MIT) | | [**hyperfine**](https://github.com/sharkdp/hyperfine) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sharkdp/hyperfine/releases) | Linux, macOS, Windows | [MIT](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-APACHE) | -| [**iai-callgrind-runner**](https://iai-callgrind.github.io/iai-callgrind/) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/iai-callgrind/iai-callgrind/releases) | Linux | [Apache-2.0](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-MIT) | +| [**iai-callgrind-runner**](https://gungraun.github.io/gungraun/) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/iai-callgrind/iai-callgrind/releases) | Linux | [Apache-2.0](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-MIT) | | [**jaq**](https://github.com/01mf02/jaq) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/01mf02/jaq/releases) | Linux, macOS, Windows | [MIT](https://github.com/01mf02/jaq/blob/main/LICENSE-MIT) | | [**just**](https://github.com/casey/just) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/casey/just/releases) | Linux, macOS, Windows | [CC0-1.0](https://github.com/casey/just/blob/master/LICENSE) | | [**knope**](https://github.com/knope-dev/knope) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/knope-dev/knope/releases) | Linux, macOS, Windows | [MIT](https://github.com/knope-dev/knope/blob/main/LICENSE) | diff --git a/main.sh b/main.sh index 157ac270..50738d8b 100755 --- a/main.sh +++ b/main.sh @@ -840,7 +840,8 @@ for tool in "${tools[@]}"; do # biome up to 1.2.2 exits with 1 on both --version and --help flags. # cargo-machete up to 0.6.0 does not support --version flag. # wait-for-them up to 0.4.0 does not support --version flag. - biome | cargo-machete | wait-for-them) rx "${tool_bin_stem}" --version || true ;; + # gungraun-runner up to 0.17.1 (exclusive) does not support --version flag. + biome | cargo-machete | wait-for-them | gungraun-runner) rx "${tool_bin_stem}" --version || true ;; # these packages support neither --version nor --help flag. cargo-auditable | cargo-careful | wasm-bindgen-test-runner) ;; # wasm2es6js does not support --version flag and --help flag doesn't contains version info. diff --git a/manifests/gungraun-runner.json b/manifests/gungraun-runner.json new file mode 100644 index 00000000..fec76d36 --- /dev/null +++ b/manifests/gungraun-runner.json @@ -0,0 +1,98 @@ +{ + "rust_crate": "gungraun-runner", + "template": { + "x86_64_linux_musl": { + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/gungraun-runner-v${version}-x86_64-unknown-linux-musl.tar.gz", + "bin": "gungraun-runner-v${version}-x86_64-unknown-linux-musl/gungraun-runner" + }, + "aarch64_linux_gnu": { + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/gungraun-runner-v${version}-aarch64-unknown-linux-gnu.tar.gz", + "bin": "gungraun-runner-v${version}-aarch64-unknown-linux-gnu/gungraun-runner" + }, + "powerpc64le_linux_gnu": { + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/gungraun-runner-v${version}-powerpc64le-unknown-linux-gnu.tar.gz", + "bin": "gungraun-runner-v${version}-powerpc64le-unknown-linux-gnu/gungraun-runner" + }, + "riscv64_linux_gnu": { + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/gungraun-runner-v${version}-riscv64gc-unknown-linux-gnu.tar.gz", + "bin": "gungraun-runner-v${version}-riscv64gc-unknown-linux-gnu/gungraun-runner" + }, + "s390x_linux_gnu": { + "url": "https://github.com/gungraun/gungraun/releases/download/v${version}/gungraun-runner-v${version}-s390x-unknown-linux-gnu.tar.gz", + "bin": "gungraun-runner-v${version}-s390x-unknown-linux-gnu/gungraun-runner" + } + }, + "license_markdown": "[Apache-2.0](https://github.com/gungraun/gungraun/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/gungraun/gungraun/blob/main/LICENSE-MIT)", + "latest": { + "version": "0.17.2" + }, + "0.17": { + "version": "0.17.2" + }, + "0.17.2": { + "x86_64_linux_musl": { + "etag": "0x8DE68853C020A9C", + "checksum": "569b45791e87a157b6a5c248b60c679fc2fe7e0bdb6b4c8101e08ef88b75bbc5" + }, + "aarch64_linux_gnu": { + "etag": "0x8DE68856BC32412", + "checksum": "5b59390e72a149230b1f9a8e6fe2f99b0287cd654fda6f97a3117fff26c9c36e" + }, + "powerpc64le_linux_gnu": { + "etag": "0x8DE68853B34CC5E", + "checksum": "52b51a07a64065085e5185e972dedbec561bab3b21a1d7caf518e0535d2a0e28" + }, + "riscv64_linux_gnu": { + "etag": "0x8DE688536B1739C", + "checksum": "ba8339ccb5dd17d132299b9f92a992673c7aba3df963071e7d5937c1e718781e" + }, + "s390x_linux_gnu": { + "etag": "0x8DE68856D0389E2", + "checksum": "09a40672c812c0ceb13bae85c4b00b535bf3804f9f9402ca2df263ea81a66700" + } + }, + "0.17.1": { + "x86_64_linux_musl": { + "etag": "0x8DE686AB13208B9", + "checksum": "7ded91ba76e91f1458817672c31a0410c77fb47d6e24a991f5753f09e9ab11f9" + }, + "aarch64_linux_gnu": { + "etag": "0x8DE686A71C74ACE", + "checksum": "860e663b4ed4855d9aeaa5604c05d6d4a52e757817e747009738e61359acfdc4" + }, + "powerpc64le_linux_gnu": { + "etag": "0x8DE686AB27613FC", + "checksum": "152a201a9dba68f2e3f17d350ee1b7c1224eeaa7011acae3fff42142b89bbf2f" + }, + "riscv64_linux_gnu": { + "etag": "0x8DE686A885720ED", + "checksum": "bd947d5bd7f7a11c03c8e867c42b81f642025218cecd4186ea410a5813ff34e6" + }, + "s390x_linux_gnu": { + "etag": "0x8DE686A938F793B", + "checksum": "e71989857f9e4adaaaf8de659157c7b192e7ae9e6eed6ce3424aeda0f49f16a0" + } + }, + "0.17.0": { + "x86_64_linux_musl": { + "etag": "0x8DDF976E83B1C58", + "checksum": "0c0dc5702ec2319e53c9f58eb1e6f897e42ce44d8877f0b20cecad8f77138c27" + }, + "aarch64_linux_gnu": { + "etag": "0x8DDF976AFD74096", + "checksum": "96d1e996d03da4dd4f205d6b6d7901a829e667c1fbd1b50d457ed7985f579bc9" + }, + "powerpc64le_linux_gnu": { + "etag": "0x8DDF976E339F8F5", + "checksum": "eca926ef2ed9a861e812ff71eb1f425235a9abe4c790705ef4be13f3265c14cc" + }, + "riscv64_linux_gnu": { + "etag": "0x8DDF976AB1DF8DB", + "checksum": "315947fcbb536956e1dc203353eea523f7c306276d95ce52bde6ed0033136631" + }, + "s390x_linux_gnu": { + "etag": "0x8DDF976DEB82496", + "checksum": "87e6eeeeaeffc1bcbaad72f4cf45dc70694d9a803acc9d12cc9b54ee8343ae37" + } + } +} diff --git a/tools/codegen/base/gungraun-runner.json b/tools/codegen/base/gungraun-runner.json new file mode 100644 index 00000000..00967339 --- /dev/null +++ b/tools/codegen/base/gungraun-runner.json @@ -0,0 +1,16 @@ +{ + "repository": "https://github.com/gungraun/gungraun", + "website": "https://gungraun.github.io/gungraun/", + "license_markdown": "[Apache-2.0](https://github.com/gungraun/gungraun/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/gungraun/gungraun/blob/main/LICENSE-MIT)", + "tag_prefix": "v", + "rust_crate": "${package}", + "asset_name": "${package}-v${version}-${rust_target}.tar.gz", + "bin": "${package}-v${version}-${rust_target}/${package}", + "platform": { + "x86_64_linux_musl": {}, + "aarch64_linux_gnu": {}, + "powerpc64le_linux_gnu": {}, + "riscv64_linux_gnu": {}, + "s390x_linux_gnu": {} + } +} diff --git a/tools/codegen/base/iai-callgrind-runner.json b/tools/codegen/base/iai-callgrind-runner.json index 6eabe4c1..5d104b73 100644 --- a/tools/codegen/base/iai-callgrind-runner.json +++ b/tools/codegen/base/iai-callgrind-runner.json @@ -1,6 +1,6 @@ { "repository": "https://github.com/iai-callgrind/iai-callgrind", - "website": "https://iai-callgrind.github.io/iai-callgrind/", + "website": "https://gungraun.github.io/gungraun/", "license_markdown": "[Apache-2.0](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/iai-callgrind/iai-callgrind/blob/main/LICENSE-MIT)", "tag_prefix": "v", "rust_crate": "${package}",