separate workflows; build and lint clangtidy
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 22s
Python / lint-format (pull_request) Successful in 29s
Python / test (pull_request) Successful in 1m0s
Build (C++) / build (pull_request) Successful in 1m52s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m49s
Lint (C++) / lint (pull_request) Successful in 2m5s

This commit is contained in:
2026-06-29 01:03:12 +02:00
parent 94100b6e2f
commit 55b73eea19
2 changed files with 23 additions and 8 deletions
-8
View File
@@ -6,8 +6,6 @@ on:
jobs:
build:
runs-on: alpine
# Uses pre-built Docker image with all build deps.
# Rebuild via ci-image.yml workflow.
container:
image: git.aramjonghu.nl/aramjonghu/zshell-ci:latest
@@ -20,9 +18,3 @@ jobs:
- name: Build
run: ninja -C build
- name: clang-tidy
continue-on-error: true
run: |
run-clang-tidy -p build -j $(nproc) -header-filter="Plugins/.*" --quiet 2>&1 | \
grep -v 'Suppressed\|non-user\|non-system\|unknown argument.*mno-direct'
+23
View File
@@ -0,0 +1,23 @@
name: Lint (C++)
on:
pull_request:
jobs:
lint:
runs-on: alpine
container:
image: git.aramjonghu.nl/aramjonghu/zshell-ci:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure
run: cmake -B build -G Ninja -DENABLE_MODULES=plugin -DCMAKE_BUILD_TYPE=Release
- name: clang-tidy
continue-on-error: true
run: |
run-clang-tidy -p build -j $(nproc) -header-filter="Plugins/.*" 2>&1 | \
grep -v 'Suppressed\|non-user\|non-system\|unknown argument.*mno-direct'