Skip to content

Commit

Permalink
Build docs for armv7-sony-vita-newlibeabihf
Browse files Browse the repository at this point in the history
  • Loading branch information
pheki committed Sep 22, 2023
1 parent e396030 commit 773eb7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,13 @@ jobs:
profile: minimal
override: true
- name: Run cargo doc
run: RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features
run: RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --target armv7-sony-vita-newlibeabihf -Z build-std

- name: Upload docs
uses: actions/upload-artifact@v3
with:
name: docs
path: target/doc
path: target/armv7-sony-vita-newlibeabihf/doc
if-no-files-found: error

- name: Set final commit status
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ regex = { version = "1.9.5", default-features = false, features = ["std", "perf"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
default-target = "armv7-sony-vita-newlibeabihf"
targets = []
cargo-args = ["-Z", "build-std"]

[features]
vitasdk-utils = []
Expand Down

0 comments on commit 773eb7d

Please sign in to comment.