ci : add [no release] keyword + fix sanitizer builds (#23728)

* ci : skip release workflow on master when commit message contains [no release]

Assisted-by: llama.cpp:local pi

* ci : restrict sanitizer builds to x86_64 + fix build type

the spark is apparently too slow for some reason

* tests : fix undefined warning

[no ci]
This commit is contained in:
Georgi Gerganov 2026-05-26 19:05:48 +03:00 committed by GitHub
parent 5190c2ea8d
commit 35a74c8fb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 5 deletions

View file

@ -28,7 +28,7 @@ env:
jobs:
ctest:
runs-on: [self-hosted, CPU, Linux]
runs-on: [self-hosted, X64, CPU, Linux]
continue-on-error: true
@ -60,6 +60,7 @@ jobs:
if: ${{ matrix.sanitizer == 'UNDEFINED' }}
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=Debug \
-DLLAMA_FATAL_WARNINGS=ON \
-DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON \
-DGGML_SANITIZE_${{ matrix.sanitizer }}=ON
@ -71,6 +72,7 @@ jobs:
if: ${{ matrix.sanitizer != 'THREAD' }}
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON \
-DGGML_SANITIZE_${{ matrix.sanitizer }}=ON
@ -81,6 +83,7 @@ jobs:
if: ${{ matrix.sanitizer == 'THREAD' }}
run: |
cmake -B build \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DLLAMA_SANITIZE_${{ matrix.sanitizer }}=ON \
-DGGML_SANITIZE_${{ matrix.sanitizer }}=ON \
-DGGML_OPENMP=OFF

View file

@ -1,5 +1,11 @@
name: Release
# Skip this workflow on push to master if the commit message contains [no release]
if: |
github.event_name != 'push' ||
github.ref != 'refs/heads/master' ||
!contains(github.event.head_commit.message, '[no release]')
on:
workflow_dispatch: # allows manual triggering
inputs: