mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2026-02-05 13:53:23 +02:00
ci : require editor config
This commit is contained in:
5
.github/workflows/build-cache.yml
vendored
5
.github/workflows/build-cache.yml
vendored
@@ -4,7 +4,10 @@ on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
schedule:
|
||||
- cron: '0 * * * *'
|
||||
|
||||
workflow_run:
|
||||
workflows: ["EditorConfig Checker"]
|
||||
types:
|
||||
- completed
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
5
.github/workflows/build-cmake-pkg.yml
vendored
5
.github/workflows/build-cmake-pkg.yml
vendored
@@ -2,7 +2,10 @@ name: Build relocatable cmake package
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
workflow_run:
|
||||
workflows: ["EditorConfig Checker"]
|
||||
types:
|
||||
- completed
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ubuntu-24.04
|
||||
|
||||
5
.github/workflows/build-linux-cross.yml
vendored
5
.github/workflows/build-linux-cross.yml
vendored
@@ -2,7 +2,10 @@ name: Build on Linux using cross-compiler
|
||||
on:
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
workflow_run:
|
||||
workflows: ["EditorConfig Checker"]
|
||||
types:
|
||||
- completed
|
||||
jobs:
|
||||
# ubuntu-24-riscv64-cpu-cross:
|
||||
# runs-on: ubuntu-24.04
|
||||
|
||||
5
.github/workflows/python-lint.yml
vendored
5
.github/workflows/python-lint.yml
vendored
@@ -8,6 +8,10 @@ on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths: ['.github/workflows/python-lint.yml', '**/*.py']
|
||||
workflow_run:
|
||||
workflows: ["EditorConfig Checker"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
|
||||
@@ -15,6 +19,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
flake8-lint:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
name: Lint
|
||||
steps:
|
||||
|
||||
5
.github/workflows/python-type-check.yml
vendored
5
.github/workflows/python-type-check.yml
vendored
@@ -8,11 +8,16 @@ on:
|
||||
- '**.py'
|
||||
- '**/requirements*.txt'
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths:
|
||||
- '.github/workflows/python-type-check.yml'
|
||||
- 'pyrightconfig.json'
|
||||
- '**.py'
|
||||
- '**/requirements*.txt'
|
||||
workflow_run:
|
||||
workflows: ["EditorConfig Checker"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
|
||||
|
||||
6
.github/workflows/server.yml
vendored
6
.github/workflows/server.yml
vendored
@@ -19,6 +19,10 @@ on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
paths: ['.github/workflows/server.yml', '**/CMakeLists.txt', '**/Makefile', '**/*.h', '**/*.hpp', '**/*.c', '**/*.cpp', '**/*.cu', '**/*.swift', '**/*.m', 'tools/server/**.*']
|
||||
workflow_run:
|
||||
workflows: ["EditorConfig Checker"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
env:
|
||||
LLAMA_LOG_COLORS: 1
|
||||
@@ -32,6 +36,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
server:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
@@ -95,6 +100,7 @@ jobs:
|
||||
pytest -v -x -m "not slow"
|
||||
|
||||
server-windows:
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||
runs-on: windows-2022
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user