Skip to content

Commit

Permalink
feat: add nextest-rs/nextest/cargo-nextest (#29358)
Browse files Browse the repository at this point in the history
* feat(nextest-rs/nextest/cargo-nextest): scaffold nextest-rs/nextest/cargo-nextest

* fix(nextest-rs/nextest/cargo-nextest): set version_prefix

* refactor(nextest-rs/nextest/cargo-nextest): simplify version_overrides

* refactor(nextest-rs/nextest/cargo-nextest): simplify version_overrides

* refactor(nextest-rs/nextest/cargo-nextest): simplify version_overrides

* refactor(nextest-rs/nextest/cargo-nextest): simplify version_overrides

* refactor(nextest-rs/nextest/cargo-nextest): simplify version_overrides

* refactor(nextest-rs/nextest/cargo-nextest): simplify version_overrides

* refactor(nextest-rs/nextest/cargo-nextest): simplify version_overrides
  • Loading branch information
suzuki-shunsuke authored Nov 29, 2024
1 parent 13c5ade commit a1d9f40
Show file tree
Hide file tree
Showing 3 changed files with 313 additions and 0 deletions.
42 changes: 42 additions & 0 deletions pkgs/nextest-rs/nextest/cargo-nextest/pkg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
packages:
- name: nextest-rs/nextest/[email protected]
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.84
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.70
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.68
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.64
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.61
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.59
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.58-rc.1
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.57
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.49-rc.2
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.48
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.46
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.45
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.41
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.41-a.6
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.41-a.4
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.40
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.30-rc.2
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.30-rc.1
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.29
- name: nextest-rs/nextest/cargo-nextest
version: cargo-nextest-0.9.28
136 changes: 136 additions & 0 deletions pkgs/nextest-rs/nextest/cargo-nextest/registry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
packages:
- name: nextest-rs/nextest/cargo-nextest
type: github_release
repo_owner: nextest-rs
repo_name: nextest
description: A next-generation test runner for Rust
version_prefix: "cargo-nextest-"
version_constraint: "false"
version_overrides:
- version_constraint: SemVer in ["0.9.85-rc.1", "0.9.41-a.5", "0.9.49-rc.1", "0.9.65", "0.9.69", "0.9.71"] or semver("> 0.9.59, <= 0.9.61-rc.1") or semver("> 0.9.61, <= 0.9.62-a.1") or semver("> 0.9.40, <= 0.9.41-a.3")
no_asset: true
- version_constraint: Version in ["cargo-nextest-0.9.30-rc.1", "cargo-nextest-0.9.41", "cargo-nextest-0.9.41-a.4"]
asset: "{{.Version}}-universal-{{.OS}}.{{.Format}}"
format: tar.gz
replacements:
darwin: apple-darwin
supported_envs:
- darwin
- version_constraint: Version == "cargo-nextest-0.9.30-rc.2"
asset: "{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}"
format: tar.gz
replacements:
darwin: apple-darwin
linux: unknown-linux-gnu
overrides:
- goos: linux
replacements:
amd64: x86_64
- goos: darwin
asset: "{{.Version}}-universal-{{.OS}}.{{.Format}}"
supported_envs:
- linux/amd64
- darwin
- version_constraint: Version == "cargo-nextest-0.9.46"
asset: "{{.Version}}-i686-{{.OS}}.{{.Format}}"
format: tar.gz
windows_arm_emulation: true
replacements:
darwin: apple-darwin
windows: pc-windows-msvc
overrides:
- goos: darwin
asset: "{{.Version}}-universal-{{.OS}}.{{.Format}}"
supported_envs:
- darwin
- windows
- version_constraint: Version == "cargo-nextest-0.9.49-rc.2"
asset: "{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}"
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
windows: pc-windows-msvc
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
arm64: aarch64
linux: unknown-linux-gnu
supported_envs:
- linux
- windows
- version_constraint: Version == "cargo-nextest-0.9.58-rc.1"
asset: "{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}"
format: tar.gz
replacements:
arm64: aarch64
linux: unknown-linux-gnu
supported_envs:
- linux/arm64
- version_constraint: semver("<= 0.9.28")
asset: "{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}"
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: apple-darwin
linux: unknown-linux-gnu
windows: pc-windows-msvc
overrides:
- goos: darwin
asset: "{{.Version}}-universal-{{.OS}}.{{.Format}}"
supported_envs:
- darwin
- windows
- amd64
- version_constraint: semver("<= 0.9.84")
asset: "{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}"
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: apple-darwin
windows: pc-windows-msvc
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
arm64: aarch64
linux: unknown-linux-gnu
- goos: darwin
asset: "{{.Version}}-universal-{{.OS}}.{{.Format}}"
- version_constraint: "true"
asset: "{{.Version}}-{{.Arch}}-{{.OS}}.{{.Format}}"
format: tar.gz
windows_arm_emulation: true
replacements:
amd64: x86_64
darwin: apple-darwin
windows: pc-windows-msvc
checksum:
type: github_release
asset: "{{.Version}}-{{.Arch}}-{{.OS}}.sha256"
algorithm: sha256
overrides:
- goos: linux
goarch: amd64
replacements:
linux: unknown-linux-musl
- goos: linux
goarch: arm64
replacements:
arm64: aarch64
linux: unknown-linux-gnu
- goos: darwin
replacements:
amd64: universal
arm64: universal
135 changes: 135 additions & 0 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a1d9f40

Please sign in to comment.