mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 06:51:54 +00:00
Avoid unnecessary pipeline runs (#885)
Pipelines should not be triggered when other pipelines are modified. This saves many resources when messing around with a single pipeline, because other pipelines won't run.
This commit is contained in:
parent
8ddf8fadb5
commit
e8963251be
6 changed files with 73 additions and 10 deletions
|
@ -1,3 +1,18 @@
|
|||
|
||||
trigger:
|
||||
paths:
|
||||
include:
|
||||
- '*'
|
||||
exclude:
|
||||
- '.azure/azure-pipelines-mac.yml'
|
||||
- '.azure/azure-pipelines-vcpkg.yml'
|
||||
- '.azure/azure-pipelines-win.yml'
|
||||
- '.circleci/config.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
- '.github/workflows/sonarcloud.yml'
|
||||
- '.cirrus.yml'
|
||||
- 'README.md'
|
||||
|
||||
parameters:
|
||||
- name: UseCache
|
||||
displayName: Use Dependency Cache
|
||||
|
|
|
@ -1,7 +1,17 @@
|
|||
# C/C++ with GCC
|
||||
# Build your C/C++ project with GCC using make.
|
||||
# Add steps that publish test results, save build artifacts, deploy, and more:
|
||||
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
|
||||
|
||||
trigger:
|
||||
paths:
|
||||
include:
|
||||
- '*'
|
||||
exclude:
|
||||
- '.azure/azure-pipelines-android.yml'
|
||||
- '.azure/azure-pipelines-vcpkg.yml'
|
||||
- '.azure/azure-pipelines-win.yml'
|
||||
- '.circleci/config.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
- '.github/workflows/sonarcloud.yml'
|
||||
- '.cirrus.yml'
|
||||
- 'README.md'
|
||||
|
||||
jobs:
|
||||
- job: macOS
|
||||
|
|
|
@ -1,4 +1,18 @@
|
|||
|
||||
trigger:
|
||||
paths:
|
||||
include:
|
||||
- '*'
|
||||
exclude:
|
||||
- '.azure/azure-pipelines-android.yml'
|
||||
- '.azure/azure-pipelines-mac.yml'
|
||||
- '.azure/azure-pipelines-win.yml'
|
||||
- '.circleci/config.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
- '.github/workflows/sonarcloud.yml'
|
||||
- '.cirrus.yml'
|
||||
- 'README.md'
|
||||
|
||||
variables:
|
||||
toolset: 'v142'
|
||||
generator: 'Visual Studio 16 2019'
|
||||
|
|
|
@ -1,7 +1,17 @@
|
|||
# C/C++ with GCC
|
||||
# Build your C/C++ project with GCC using make.
|
||||
# Add steps that publish test results, save build artifacts, deploy, and more:
|
||||
# https://docs.microsoft.com/azure/devops/pipelines/apps/c-cpp/gcc
|
||||
|
||||
trigger:
|
||||
paths:
|
||||
include:
|
||||
- '*'
|
||||
exclude:
|
||||
- '.azure/azure-pipelines-android.yml'
|
||||
- '.azure/azure-pipelines-mac.yml'
|
||||
- '.azure/azure-pipelines-vcpkg.yml'
|
||||
- '.circleci/config.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
- '.github/workflows/sonarcloud.yml'
|
||||
- '.cirrus.yml'
|
||||
- 'README.md'
|
||||
|
||||
jobs:
|
||||
- job: WindowsXP
|
||||
|
|
10
.github/workflows/linux.yml
vendored
10
.github/workflows/linux.yml
vendored
|
@ -1,6 +1,14 @@
|
|||
name: FluidSynth Linux
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.azure/**'
|
||||
- '.circleci/**'
|
||||
- '.github/workflows/sonarcloud.yml'
|
||||
- '.cirrus.yml'
|
||||
- 'README.md'
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
|
|
8
.github/workflows/sonarcloud.yml
vendored
8
.github/workflows/sonarcloud.yml
vendored
|
@ -4,9 +4,15 @@ on:
|
|||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '.azure/**'
|
||||
- '.circleci/**'
|
||||
- '.github/workflows/linux.yml'
|
||||
- '.cirrus.yml'
|
||||
- 'README.md'
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
|
||||
|
||||
env:
|
||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
||||
# Use Debug build for better code coverage results
|
||||
|
|
Loading…
Reference in a new issue