Переглянути джерело

CI: skip some more builds when possible

When a commit only contains tests, documentation, or cmake files, skip
those builds that aren't affected by those.

The file filters available on the CI services don't seem to allow
skipping individual jobs, only the entire workflow, so we can't get any
more fine-grained than this.
Dan Fandrich 1 рік тому
батько
коміт
43e71fe0fc

+ 2 - 0
.cirrus.yml

@@ -28,10 +28,12 @@
 
 freebsd_task:
   skip: "changesIncludeOnly(
+    '**/CMakeLists.txt',
     '.azure-pipelines.yml',
     '.circleci/**',
     '.github/**',
     'appveyor.yml',
+    'CMake/**',
     'packages/**',
     'plan9/**',
     'projects/**',

+ 4 - 0
.github/workflows/codeql-analysis.yml

@@ -15,9 +15,11 @@ on:
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'docs/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
+    - 'tests/data/**'
     - 'winbuild/**'
   pull_request:
     branches:
@@ -28,9 +30,11 @@ on:
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'docs/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
+    - 'tests/data/**'
     - 'winbuild/**'
   schedule:
     - cron: '0 0 * * 4'

+ 6 - 0
.github/workflows/fuzz.yml

@@ -11,25 +11,31 @@ on:
     - '*/ci'
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
+    - 'tests/data/**'
     - 'winbuild/**'
   pull_request:
     branches:
     - master
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
+    - 'tests/data/**'
     - 'winbuild/**'
 
 concurrency:

+ 4 - 0
.github/workflows/ngtcp2-gnutls.yml

@@ -11,10 +11,12 @@ on:
     - '*/ci'
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
@@ -24,10 +26,12 @@ on:
     - master
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'

+ 4 - 0
.github/workflows/ngtcp2-quictls.yml

@@ -11,10 +11,12 @@ on:
     - '*/ci'
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
@@ -24,10 +26,12 @@ on:
     - master
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'

+ 4 - 0
.github/workflows/ngtcp2-wolfssl.yml

@@ -11,10 +11,12 @@ on:
     - '*/ci'
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
@@ -24,10 +26,12 @@ on:
     - master
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'

+ 4 - 0
.github/workflows/torture.yml

@@ -11,10 +11,12 @@ on:
     - '*/ci'
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
@@ -24,10 +26,12 @@ on:
     - master
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'

+ 4 - 0
.github/workflows/wolfssl.yml

@@ -11,10 +11,12 @@ on:
     - '*/ci'
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'
@@ -24,10 +26,12 @@ on:
     - master
     paths-ignore:
     - '**/*.md'
+    - '**/CMakeLists.txt'
     - '.azure-pipelines.yml'
     - '.circleci/**'
     - '.cirrus.yml'
     - 'appveyor.yml'
+    - 'CMake/**'
     - 'packages/**'
     - 'plan9/**'
     - 'projects/**'