👷 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:
|
steps:
|
||||||
- name: format
|
- name: format
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
commands:
|
commands: |
|
||||||
- rustup component add rustfmt
|
rustup component add rustfmt
|
||||||
- cargo fmt --all --check
|
cargo fmt --all --check
|
||||||
|
|
||||||
- name: clippy
|
# - 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
|
|
||||||
# image: rust:latest
|
# image: rust:latest
|
||||||
# commands:
|
# commands: |
|
||||||
# - cargo install dioxus-cli --locked -j ${JOBS_NB:-default}
|
# apt update && apt install -y libgtk-3-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev
|
||||||
# - rustup target add wasm32-unknown-unknown
|
# rustup component add clippy
|
||||||
# - cargo install -f wasm-bindgen-cli --version 0.2.93
|
# cargo clippy --all --all-features -- -D warnings
|
||||||
# - dx build -r --platform web -- -j ${JOBS_NB:-default}
|
# # 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:
|
when:
|
||||||
- event: pull_request
|
- event: pull_request
|
||||||
# - event: push
|
- event: push
|
||||||
# branch: ${CI_REPO_DEFAULT_BRANCH}
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||||
|
Reference in New Issue
Block a user