2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-09 22:14:59 +00:00

Update drone triggers

This commit is contained in:
Aode (lion) 2021-12-03 16:57:04 -06:00
parent 9b5cbea2b9
commit 60f528961c

View file

@ -27,6 +27,11 @@ steps:
- cargo clippy --no-default-features --features object-storage
- cargo clippy --no-default-features --features object-storage,io-uring
trigger:
event:
- push
- pull_request
---
kind: pipeline
@ -54,6 +59,43 @@ steps:
commands:
- cargo test
trigger:
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: check-amd64
platform:
arch: amd64
clone:
disable: true
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: build
image: asonix/rust-builder:amd64-latest
pull: always
commands:
- cargo check --target=x86_64-unknown-linux-musl
trigger:
event:
- push
- pull_request
---
kind: pipeline
@ -79,9 +121,44 @@ steps:
image: asonix/rust-builder:amd64-latest
pull: always
commands:
- cargo check --target=x86_64-unknown-linux-musl
- cargo build --target=x86_64-unknown-linux-musl --release
trigger:
event:
- tag
---
kind: pipeline
type: docker
name: check-arm64v8
platform:
arch: amd64
clone:
disable: true
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: build
image: asonix/rust-builder:arm64v8-latest
pull: always
commands:
- cargo check --target=aarch64-unknown-linux-musl
trigger:
event:
- push
- pull_request
---
kind: pipeline
@ -107,9 +184,44 @@ steps:
image: asonix/rust-builder:arm64v8-latest
pull: always
commands:
- cargo check --target=aarch64-unknown-linux-musl
- cargo build --target=aarch64-unknown-linux-musl --release
trigger:
event:
- tag
---
kind: pipeline
type: docker
name: check-arm32v7
platform:
arch: amd64
clone:
disable: true
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: build
image: asonix/rust-builder:arm32v7-latest
pull: always
commands:
- cargo check --target=armv7-unknown-linux-musleabihf
trigger:
event:
- push
- pull_request
---
kind: pipeline
@ -135,5 +247,8 @@ steps:
image: asonix/rust-builder:arm32v7-latest
pull: always
commands:
- cargo check --target=armv7-unknown-linux-musleabihf
- cargo build --target=armv7-unknown-linux-musleabihf --release
trigger:
event:
- tag