👷 Test the build for web on PR
All checks were successful
ci/woodpecker/manual/dependencies Pipeline was successful
All checks were successful
ci/woodpecker/manual/dependencies Pipeline was successful
This commit is contained in:
@@ -1,28 +1,26 @@
|
||||
steps:
|
||||
- name: format
|
||||
image: rust:latest
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt --all --check
|
||||
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
|
||||
# - name: clippy
|
||||
# image: rust:latest
|
||||
# commands:
|
||||
# - cargo install dioxus-cli --locked -j ${JOBS_NB:-default}
|
||||
# - rustup target add wasm32-unknown-unknown
|
||||
# - cargo install -f wasm-bindgen-cli --version 0.2.93
|
||||
# - dx build -r --platform web -- -j ${JOBS_NB:-default}
|
||||
# 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}
|
||||
- event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
|
Reference in New Issue
Block a user