mirror of
https://git.asonix.dog/asonix/activitystreams.git
synced 2024-11-25 13:21:00 +00:00
Use upstream rust container for tests
This commit is contained in:
parent
aef1bdf588
commit
f343e4a959
1 changed files with 2 additions and 24 deletions
26
.drone.yml
26
.drone.yml
|
@ -44,20 +44,9 @@ name: tests-amd64
|
||||||
platform:
|
platform:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
|
||||||
image: alpine/git:latest
|
|
||||||
user: root
|
|
||||||
commands:
|
|
||||||
- git clone $DRONE_GIT_HTTP_URL .
|
|
||||||
- git checkout $DRONE_COMMIT
|
|
||||||
- chown -R 991:991 .
|
|
||||||
|
|
||||||
- name: tests
|
- name: tests
|
||||||
image: asonix/rust-builder:latest-linux-amd64
|
image: rust:1-alpine
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- cargo test
|
- cargo test
|
||||||
|
@ -77,20 +66,9 @@ name: tests-arm64v8
|
||||||
platform:
|
platform:
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone
|
|
||||||
image: alpine/git:latest
|
|
||||||
user: root
|
|
||||||
commands:
|
|
||||||
- git clone $DRONE_GIT_HTTP_URL .
|
|
||||||
- git checkout $DRONE_COMMIT
|
|
||||||
- chown -R 991:991 .
|
|
||||||
|
|
||||||
- name: tests
|
- name: tests
|
||||||
image: asonix/rust-builder:latest-linux-amd64
|
image: rust:1-alpine
|
||||||
pull: always
|
pull: always
|
||||||
commands:
|
commands:
|
||||||
- cargo test
|
- cargo test
|
||||||
|
|
Loading…
Reference in a new issue