Skip to content

Commit

Permalink
test-build.yml: Run test-docs-build on its own
Browse files Browse the repository at this point in the history
  • Loading branch information
KrystalDelusion committed May 13, 2024
1 parent ec4e9b0 commit 6d292fe
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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 }}

0 comments on commit 6d292fe

Please sign in to comment.