mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 13:19:05 +00:00
CI: Don't use self-hosted runner on forks
This commit is contained in:
parent
259bd6fb33
commit
19667dd6f1
3 changed files with 3 additions and 3 deletions
2
.github/workflows/prepare-docs.yml
vendored
2
.github/workflows/prepare-docs.yml
vendored
|
@ -26,7 +26,7 @@ jobs:
|
||||||
# docs builds are needed for anything on main, any tagged versions, and any tag
|
# docs builds are needed for anything on main, any tagged versions, and any tag
|
||||||
# or branch starting with docs-preview
|
# or branch starting with docs-preview
|
||||||
needs: check_docs_rebuild
|
needs: check_docs_rebuild
|
||||||
if: ${{ needs.check_docs_rebuild.outputs.should_skip != 'true' }}
|
if: ${{ needs.check_docs_rebuild.outputs.should_skip != 'true' && github.repository == 'YosysHQ/Yosys' }}
|
||||||
runs-on: [self-hosted, linux, x64, fast]
|
runs-on: [self-hosted, linux, x64, fast]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Yosys
|
- name: Checkout Yosys
|
||||||
|
|
2
.github/workflows/test-build.yml
vendored
2
.github/workflows/test-build.yml
vendored
|
@ -253,7 +253,7 @@ jobs:
|
||||||
name: Try build docs
|
name: Try build docs
|
||||||
runs-on: [self-hosted, linux, x64, fast]
|
runs-on: [self-hosted, linux, x64, fast]
|
||||||
needs: [pre_docs_job]
|
needs: [pre_docs_job]
|
||||||
if: needs.pre_docs_job.outputs.should_skip != 'true'
|
if: ${{ needs.pre_docs_job.outputs.should_skip != 'true' && github.repository == 'YosysHQ/Yosys' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
docs-target: [html, latexpdf]
|
docs-target: [html, latexpdf]
|
||||||
|
|
2
.github/workflows/test-verific.yml
vendored
2
.github/workflows/test-verific.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
test-verific:
|
test-verific:
|
||||||
needs: pre-job
|
needs: pre-job
|
||||||
if: needs.pre-job.outputs.should_skip != 'true'
|
if: ${{ needs.pre-job.outputs.should_skip != 'true' && github.repository == 'YosysHQ/Yosys' }}
|
||||||
runs-on: [self-hosted, linux, x64, fast]
|
runs-on: [self-hosted, linux, x64, fast]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Yosys
|
- name: Checkout Yosys
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue