apub/.drone.yml
Aode (lion) 2a2c3acfe8
All checks were successful
continuous-integration/drone/push Build is passing
Update to latest rust-builder tags
2021-12-22 15:56:11 -06:00

209 lines
6.5 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

kind: pipeline
type: docker
name: clippy
platform:
arсh: 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: clippy
image: asonix/rust-builder:latest-linux-amd64
pull: always
commands:
- rustup component add clippy
- cargo clippy --no-default-features --features with-actix-web,with-awc,with-reqwest,with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-awc,with-reqwest,with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-awc,with-reqwest,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-awc,with-reqwest -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-awc,with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-awc,with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-awc,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-awc -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-reqwest,with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-reqwest,with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-reqwest,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-reqwest -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features with-actix-web,utils -- -D warnings
- cargo clippy --no-default-features --features with-actix-web -- -D warnings
- cargo clippy --no-default-features --features with-awc,with-reqwest,with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-awc,with-reqwest,with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features with-awc,with-reqwest,utils -- -D warnings
- cargo clippy --no-default-features --features with-awc,with-reqwest -- -D warnings
- cargo clippy --no-default-features --features with-awc,with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-awc,with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features with-awc,utils -- -D warnings
- cargo clippy --no-default-features --features with-awc -- -D warnings
- cargo clippy --no-default-features --features with-reqwest,with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-reqwest,with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features with-reqwest,utils -- -D warnings
- cargo clippy --no-default-features --features with-reqwest -- -D warnings
- cargo clippy --no-default-features --features with-rustcrypto,utils -- -D warnings
- cargo clippy --no-default-features --features with-rustcrypto -- -D warnings
- cargo clippy --no-default-features --features utils -- -D warnings
- cargo clippy --no-default-features -- -D warnings
- cargo clippy -p example-types -- -D warnings
- cargo clippy -p awc-example -- -D warnings
- cargo clippy -p actix-web-example -- -D warnings
- cargo clippy -p background-jobs-example -- -D warnings
trigger:
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: tests
platform:
arсh: 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: tests
image: asonix/rust-builder:latest-linux-amd64
pull: always
commands:
- cargo test -p apub-breaker-session
- cargo test -p apub-core
- cargo test -p apub-privatekey
- cargo test -p apub-publickey
- cargo test -p apub-reqwest
- cargo test -p apub-rustcrypto
- cargo test -p apub-simple-activitypub
trigger:
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: check-amd64
platform:
arсh: 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: check-amd64
image: asonix/rust-builder:latest-linux-amd64
pull: always
commands:
- cargo check --target=x86_64-unknown-linux-musl --no-default-features --features with-actix-web,with-awc,with-reqwest,with-rustcrypto,utils
- cargo check --target=x86_64-unknown-linux-musl -p actix-web-example
- cargo check --target=x86_64-unknown-linux-musl -p awc-example
- cargo check --target=x86_64-unknown-linux-musl -p background-jobs-example
trigger:
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: check-arm64v8
platform:
arсh: 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: check-arm64v8
image: asonix/rust-builder:latest-linux-arm64v8
pull: always
commands:
- cargo check --target=aarch64-unknown-linux-musl --no-default-features --features with-actix-web,with-awc,with-reqwest,with-rustcrypto,utils
- cargo check --target=aarch64-unknown-linux-musl -p actix-web-example
- cargo check --target=aarch64-unknown-linux-musl -p awc-example
- cargo check --target=aarch64-unknown-linux-musl -p background-jobs-example
trigger:
event:
- push
- pull_request
---
kind: pipeline
type: docker
name: check-arm32v7
platform:
arсh: 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: check-arm32v7
image: asonix/rust-builder:latest-linux-arm32v7
pull: always
commands:
- cargo check --target=armv7-unknown-linux-musleabihf --no-default-features --features with-actix-web,with-awc,with-reqwest,with-rustcrypto,utils
- cargo check --target=armv7-unknown-linux-musleabihf -p actix-web-example
- cargo check --target=armv7-unknown-linux-musleabihf -p awc-example
- cargo check --target=armv7-unknown-linux-musleabihf -p background-jobs-example
trigger:
event:
- push
- pull_request