mirror of
https://github.com/Syfaro/fuzzysearch.git
synced 2024-11-23 23:32:32 +00:00
Update test step.
This commit is contained in:
parent
415d030bd2
commit
dae97a074e
23
.drone.yml
23
.drone.yml
@ -11,8 +11,25 @@ steps:
|
|||||||
- name: test
|
- name: test
|
||||||
image: rust:1-slim-buster
|
image: rust:1-slim-buster
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -y && apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libavdevice-dev pkg-config clang llvm
|
- apt-get update -y
|
||||||
- cargo build
|
- apt-get install -y wget libssl-dev pkg-config
|
||||||
- cargo test
|
- apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libavdevice-dev clang llvm
|
||||||
|
- apt-get install -y python3 python3-pip
|
||||||
|
- pip3 install cfscrape
|
||||||
|
- wget -O sccache.tar.gz https://github.com/mozilla/sccache/releases/download/0.2.13/sccache-0.2.13-x86_64-unknown-linux-musl.tar.gz
|
||||||
|
- tar zxvf sccache.tar.gz
|
||||||
|
- export RUSTC_WRAPPER=$(pwd)/sccache-0.2.13-x86_64-unknown-linux-musl/sccache
|
||||||
|
- cargo build
|
||||||
|
- cargo test
|
||||||
|
- $(pwd)/sccache-0.2.13-x86_64-unknown-linux-musl/sccache --show-stats
|
||||||
|
environment:
|
||||||
|
AWS_ACCESS_KEY_ID:
|
||||||
|
from_secret: sccache_s3_access_key
|
||||||
|
AWS_SECRET_ACCESS_KEY:
|
||||||
|
from_secret: sccache_s3_secret_key
|
||||||
|
SCCACHE_BUCKET: cache
|
||||||
|
SCCACHE_ENDPOINT:
|
||||||
|
from_secret: sccache_s3_endpoint
|
||||||
|
SCCACHE_S3_USE_SSL: true
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user