mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 11:41:04 +00:00
[ci] Return publish-rustdoc (#1402)
* [WIP][ci] Return publish-rustdoc * rm files * fix ref * add build doc * add comment * move test-deterministic-wasm to test stage * rm test-deterministic-wasm from root * test publish * enable pipeline * add test_deterministic_wasm.sh for resolving conflicts * rm unused bash script
This commit is contained in:
committed by
GitHub
parent
15503883e2
commit
09503b1d2d
@@ -105,20 +105,18 @@ build-rustdoc:
|
||||
- .run-immediately
|
||||
variables:
|
||||
SKIP_WASM_BUILD: 1
|
||||
# artifacts:
|
||||
# name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc"
|
||||
# when: on_success
|
||||
# expire_in: 1 days
|
||||
# paths:
|
||||
# - ./crate-docs/
|
||||
artifacts:
|
||||
name: "${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}-doc"
|
||||
when: on_success
|
||||
expire_in: 1 days
|
||||
paths:
|
||||
- ./crate-docs/
|
||||
script:
|
||||
# FIXME: it fails with `RUSTDOCFLAGS="-Dwarnings"` and `--all-features`
|
||||
# FIXME: return to stable when https://github.com/rust-lang/rust/issues/96937 gets into stable
|
||||
- time cargo doc --features try-runtime,experimental --workspace --no-deps
|
||||
- rm -f ./target/doc/.lock
|
||||
- mv ./target/doc ./crate-docs
|
||||
# FIXME: remove me after CI image gets nonroot
|
||||
- chown -R nonroot:nonroot ./crate-docs
|
||||
# Inject Simple Analytics (https://www.simpleanalytics.com/) privacy preserving tracker into
|
||||
# all .html files
|
||||
- |
|
||||
|
||||
Reference in New Issue
Block a user