From 5b03b26e77bed0fa6fcc5060238c337f826b07db Mon Sep 17 00:00:00 2001 From: Julia Ryan Date: Mon, 16 Jun 2025 10:18:52 -0700 Subject: [PATCH 1/2] ci: Add nightly action to build gpui docs --- .github/workflows/release_nightly.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 2026ee7b73..df4f6e9605 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -286,6 +286,30 @@ jobs: - name: Upload Zed Nightly working-directory: ${{ env.ZED_WORKSPACE }} run: script/upload-nightly.ps1 windows + gpui-docs: + timeout-minutes: 60 + name: Render rust docs for gpui + if: github.repository_owner == 'zed-industries' + runs-on: + - buildjet-16vcpu-ubuntu-2004 + needs: tests + steps: + - name: Checkout repo + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + clean: false + + - name: Add Rust to the PATH + run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH + + - name: Install Linux dependencies + run: ./script/linux && ./script/install-mold 2.34.0 + + - name: Limit target directory size + run: script/clear-target-dir-if-larger-than 100 + + - name: Upload Zed Nightly + run: cargo doc -p gpui update-nightly-tag: name: Update nightly tag From 99498f612570a69ce47479ae34274e24429438e5 Mon Sep 17 00:00:00 2001 From: Julia Ryan Date: Mon, 16 Jun 2025 10:19:24 -0700 Subject: [PATCH 2/2] Add TODO --- .github/workflows/release_nightly.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index df4f6e9605..57f234116e 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -311,6 +311,8 @@ jobs: - name: Upload Zed Nightly run: cargo doc -p gpui + # TODO: add upload-artifact step + update-nightly-tag: name: Update nightly tag if: github.repository_owner == 'zed-industries'