Merge cranelift doc generation CI
This commit is contained in:
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@@ -52,7 +52,8 @@ jobs:
|
|||||||
- uses: ./.github/actions/install-rust
|
- uses: ./.github/actions/install-rust
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
toolchain: nightly
|
||||||
- run: cargo doc --no-deps --all --exclude wasmtime-cli --exclude test-programs
|
- run: cargo doc --no-deps --all --exclude wasmtime-cli --exclude test-programs --exclude cranelift-codegen-meta
|
||||||
|
- run: cargo doc --package cranelift-codegen-meta --document-private-items
|
||||||
- uses: actions/upload-artifact@v1
|
- uses: actions/upload-artifact@v1
|
||||||
with:
|
with:
|
||||||
name: doc-api
|
name: doc-api
|
||||||
|
|||||||
15
cranelift/.github/workflows/main.yml
vendored
15
cranelift/.github/workflows/main.yml
vendored
@@ -1,15 +0,0 @@
|
|||||||
jobs:
|
|
||||||
docs:
|
|
||||||
name: Build API Docs
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
with:
|
|
||||||
submodules: true
|
|
||||||
- name: Install Rust
|
|
||||||
run: rustup update nightly && rustup default nightly
|
|
||||||
- run: cargo doc --all --exclude cranelift-codegen-meta
|
|
||||||
- run: cargo doc --package cranelift-codegen-meta --document-private-items
|
|
||||||
- run: cargo install cargo-deadlinks
|
|
||||||
- run: find ./target/doc -maxdepth 1 -type d -name "cranelift*" | xargs -I{} cargo deadlinks --dir {}
|
|
||||||
name: Run cargo-deadlinks
|
|
||||||
Reference in New Issue
Block a user