mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-24 18:02:13 +00:00
Trying to debug the issue
This commit is contained in:
parent
ab77433128
commit
47d38c9759
15
Makefile
15
Makefile
@ -301,17 +301,18 @@ dep-graph:
|
||||
cargo deps --optional-deps --filter wasmer-wasi wasmer-wasi-tests wasmer-kernel-loader wasmer-dev-utils wasmer-llvm-backend wasmer-emscripten wasmer-emscripten-tests wasmer-runtime-core wasmer-runtime wasmer-middleware-common wasmer-middleware-common-tests wasmer-singlepass-backend wasmer-clif-backend wasmer --manifest-path Cargo.toml | dot -Tpng > wasmer_depgraph.png
|
||||
|
||||
docs:
|
||||
cargo doc --features=backend-singlepass,backend-cranelift,backend-llvm,docs,wasi,managed --all --no-deps
|
||||
cd lib/runtime-c-api/ && doxygen doxyfile && cd ..
|
||||
# cargo doc --features=backend-singlepass,backend-cranelift,backend-llvm,docs,wasi,managed --all --no-deps
|
||||
# cd lib/runtime-c-api/ && doxygen doxyfile && cd ..
|
||||
mkdir -p api-docs
|
||||
mkdir -p api-docs/c
|
||||
cp -R target/doc api-docs/rust
|
||||
cp -R lib/runtime-c-api/doc/html api-docs/c/runtime-c-api
|
||||
mkdir -/p api-docs/c
|
||||
# cp -R target/doc api-docs/rust
|
||||
# cp -R lib/runtime-c-api/doc/html api-docs/c/runtime-c-api
|
||||
echo '<meta http-equiv="refresh" content="0; url=rust/wasmer_runtime/index.html">' > api-docs/index.html
|
||||
echo '<meta http-equiv="refresh" content="0; url=wasmer_runtime/index.html">' > api-docs/rust/index.html
|
||||
# echo '<meta http-equiv="refresh" content="0; url=wasmer_runtime/index.html">' > api-docs/rust/index.html
|
||||
|
||||
docs-publish:
|
||||
git clone -b "gh-pages" --depth=1 https://wasmerbot:${GITHUB_DOCS_TOKEN}@github.com/wasmerio/wasmer.git api-docs-repo
|
||||
echo $GITHUB_DOCS_TOKEN
|
||||
git clone -b "gh-pages" --depth=1 https://wasmerbot:$(GITHUB_DOCS_TOKEN)@github.com/wasmerio/wasmer.git api-docs-repo
|
||||
cp -R api-docs/* api-docs-repo/
|
||||
cd api-docs-repo && git add index.html rust/* c/*
|
||||
cd api-docs-repo && git commit -m "Publishing GitHub Pages ***CI***"
|
||||
|
@ -300,9 +300,11 @@ jobs:
|
||||
- bash: |
|
||||
git config --global user.email "bot@wasmer.io"
|
||||
git config --global user.name "wasmerbot"
|
||||
env
|
||||
make docs-publish
|
||||
# env:
|
||||
# RUST_DOCS_DIR: $(Pipeline.Workspace)/api-docs
|
||||
env:
|
||||
RUST_DOCS_DIR: $(Pipeline.Workspace)/api-docs
|
||||
GITHUB_DOCS_TOKEN: $(GITHUB_DOCS_TOKEN)
|
||||
|
||||
# We only run the pipelines on PRs to Master
|
||||
pr:
|
||||
|
Loading…
x
Reference in New Issue
Block a user