mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-12 05:17:21 +01:00
ci : trigger CI for drafts, but not most PR actions (#1125)
This commit is contained in:
parent
c50b628810
commit
857308d1e8
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -12,7 +12,7 @@ on:
|
|||||||
- master
|
- master
|
||||||
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
|
paths: ['.github/workflows/**', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, edited, reopened, review_requested, ready_for_review]
|
types: [opened, synchronize, reopened]
|
||||||
paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
|
paths: ['**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.c', '**/*.cpp']
|
||||||
|
|
||||||
env:
|
env:
|
||||||
@ -20,8 +20,6 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu-latest-make:
|
ubuntu-latest-make:
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -41,8 +39,6 @@ jobs:
|
|||||||
make
|
make
|
||||||
|
|
||||||
ubuntu-latest-cmake:
|
ubuntu-latest-cmake:
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -71,8 +67,6 @@ jobs:
|
|||||||
ctest --verbose
|
ctest --verbose
|
||||||
|
|
||||||
ubuntu-latest-cmake-sanitizer:
|
ubuntu-latest-cmake-sanitizer:
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@ -108,8 +102,6 @@ jobs:
|
|||||||
ctest --verbose
|
ctest --verbose
|
||||||
|
|
||||||
macOS-latest-make:
|
macOS-latest-make:
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
|
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -128,8 +120,6 @@ jobs:
|
|||||||
make
|
make
|
||||||
|
|
||||||
macOS-latest-cmake:
|
macOS-latest-cmake:
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
|
|
||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -157,8 +147,6 @@ jobs:
|
|||||||
ctest --verbose
|
ctest --verbose
|
||||||
|
|
||||||
windows-latest-cmake:
|
windows-latest-cmake:
|
||||||
if: github.event.pull_request.draft == false
|
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user