pantry/projects/crates.io/drill/package.yml

37 lines
696 B
YAML
Raw Normal View History

2024-06-01 19:49:58 +03:00
distributable:
url: https://github.com/fcsonline/drill/archive/refs/tags/{{ version.tag }}.tar.gz
strip-components: 1
provides:
- bin/drill
versions:
github: fcsonline/drill
dependencies:
openssl.org: ^1.1
build:
dependencies:
rust-lang.org: '>=1.56'
rust-lang.org/cargo: '*'
script: cargo install --path . --root {{prefix}}
test:
- test "$(drill --version)" = "drill {{version}}"
- run: drill --benchmark $FIXTURE --stats
fixture:
extname: yml
content: |
---
concurrency: 4
base: 'http://pkgx.sh'
iterations: 5
rampup: 2
plan:
- name: Fetch root
request:
url: /