Browse Source

ci : run when changing only the CUDA sources (#1800)

slaren 2 years ago
parent
commit
e4caa8da59
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/build.yml

+ 2 - 2
.github/workflows/build.yml

@@ -10,10 +10,10 @@ on:
   push:
   push:
     branches:
     branches:
       - master
       - master
-    paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp']
+    paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu']
   pull_request:
   pull_request:
     types: [opened, synchronize, reopened]
     types: [opened, synchronize, reopened]
-    paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp']
+    paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu']
 
 
 env:
 env:
  BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
  BRANCH_NAME: ${{ github.head_ref || github.ref_name }}