mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
37 lines
696 B
YAML
37 lines
696 B
YAML
|
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: /
|