All checks were successful
ci/woodpecker/manual/dependencies Pipeline was successful
27 lines
718 B
YAML
27 lines
718 B
YAML
steps:
|
|
- name: format
|
|
image: rust:latest
|
|
commands: |
|
|
rustup component add rustfmt
|
|
cargo fmt --all --check
|
|
|
|
# - name: clippy
|
|
# image: rust:latest
|
|
# commands: |
|
|
# apt update && apt install -y libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
|
|
# rustup component add clippy
|
|
# cargo clippy --all --all-features -- -D warnings
|
|
# # Not ready for clippy validation
|
|
# failure: ignore
|
|
|
|
- name: build-web
|
|
# image: rust:latest
|
|
image: rg.fr-par.scw.cloud/asr-projects/dioxus-cli:asr-0.6.3
|
|
commands: |
|
|
dx build -r --platform web -- -j ${JOBS_NB:-default}
|
|
|
|
when:
|
|
- event: pull_request
|
|
- event: push
|
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|