From 6d292fe1350fdbcbae8991860f64af21375c2c14 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Tue, 14 May 2024 10:13:12 +1200 Subject: [PATCH] test-build.yml: Run test-docs-build on its own --- .github/workflows/test-build.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index c63b4b0dc7f..662e189bcd8 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -183,10 +183,8 @@ jobs: test-docs-build: name: Try build docs runs-on: [self-hosted, linux, x64] - needs: [test-docs, pre_docs_job] + needs: [pre_docs_job] if: needs.pre_docs_job.outputs.should_skip != 'true' - env: - CC: clang strategy: matrix: docs-target: [html, latexpdf] @@ -199,17 +197,13 @@ jobs: run: | echo "procs=$(nproc)" >> $GITHUB_ENV - - name: Download build artifact - uses: actions/download-artifact@v4 - with: - name: build-ubuntu-latest - - - name: Uncompress build - shell: bash - run: - tar -xvf build.tar + - name: Build Yosys + run: | + make config-clang + echo "ENABLE_CCACHE := 1" >> Makefile.conf + make -j${{ env.procs }} - name: Build docs shell: bash run: | - make docs DOC_TARGET=${{ matrix.docs-target }} TARGETS= EXTRA_TARGETS= CONFIG=$CC + make docs DOC_TARGET=${{ matrix.docs-target }}