1
0
mirror of synced 2026-01-26 04:11:35 +00:00

test-build.yml Use pre_docs_job for build-yosys

pre_job will never skip something that is not skipped by pre_docs_job, so we can gate the build step by pre_docs_job to skip it when the two later jobs are both being skipped.
This commit is contained in:
Krystine Sherwin
2024-05-11 11:00:58 +12:00
parent a8bad3060c
commit 95bd7c9b08

View File

@@ -33,6 +33,8 @@ jobs:
build-yosys:
name: Reusable build
runs-on: ${{ matrix.os }}
needs: pre_docs_job
if: needs.pre_docs_job.outputs.should_skip != 'true'
env:
CC: clang
strategy: