Skip to content

Commit ed0ba44

Browse files
committed
Try to keep the pipeline alive
1 parent 35f8f85 commit ed0ba44

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/docs.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
19+
- name: Free disk space
20+
uses: jlumbroso/free-disk-space@main
21+
with:
22+
tool-cache: true
23+
android: true
24+
dotnet: true
25+
haskell: true
26+
large-packages: true
27+
swap-storage: false
1928
- name: Setup Rust
2029
uses: dtolnay/rust-toolchain@nightly
2130
with:
@@ -78,17 +87,20 @@ jobs:
7887
EOF
7988
- name: Build docs
8089
env:
81-
RUSTFLAGS: "--cfg skyline_std_v3 -Cdebuginfo=0"
90+
RUSTFLAGS: "--cfg skyline_std_v3 -Cdebuginfo=0 -Ccodegen-units=1"
91+
RUSTDOCFLAGS: "-Cdebuginfo=0 -Ccodegen-units=1"
8292
SKYLINE_ADD_NRO_HEADER: "1"
8393
CARGO_INCREMENTAL: "0"
94+
CARGO_PROFILE_DOC_DEBUG: "0"
95+
CARGO_PROFILE_DEV_DEBUG: "0"
8496
run: |
8597
rustup run skyline-v3 cargo doc \
8698
--target $HOME/.cargo/skyline/aarch64-skyline-switch.json \
8799
-Z json-target-spec \
88100
-Z build-std=core,alloc,std,panic_abort \
89101
--features all \
90102
--no-deps \
91-
-j 2
103+
-j 1
92104
- name: Add redirect
93105
run: echo '<meta http-equiv="refresh" content="0;url=engage_il2cpp/index.html">' > target/aarch64-skyline-switch/doc/index.html
94106
- name: Remove lock file

0 commit comments

Comments
 (0)