mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-04 17:17:43 +00:00
Merge pull request #5280 from YosysHQ/krys/ci_changes
Workflow adjustments
This commit is contained in:
commit
1a52a714b4
5 changed files with 161 additions and 28 deletions
16
.github/workflows/extra-builds.yml
vendored
16
.github/workflows/extra-builds.yml
vendored
|
@ -1,6 +1,14 @@
|
|||
name: Test extra build flows
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
# always test main
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# test PRs
|
||||
pull_request:
|
||||
# allow triggering tests, ignores skip check
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
pre_job:
|
||||
|
@ -11,11 +19,11 @@ jobs:
|
|||
- id: skip_check
|
||||
uses: fkirc/skip-duplicate-actions@v5
|
||||
with:
|
||||
# don't run on documentation changes
|
||||
paths_ignore: '["**/README.md", "docs/**", "guidelines/**"]'
|
||||
# cancel previous builds if a new commit is pushed
|
||||
cancel_others: 'true'
|
||||
# only run on push *or* pull_request, not both
|
||||
concurrent_skipping: 'same_content_newer'
|
||||
# but never cancel main
|
||||
cancel_others: ${{ github.ref != 'refs/heads/main' }}
|
||||
|
||||
vs-prep:
|
||||
name: Prepare Visual Studio build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue