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
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:
@@ -6,8 +6,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: alpine
|
runs-on: alpine
|
||||||
# Uses pre-built Docker image with all build deps.
|
|
||||||
# Rebuild via ci-image.yml workflow.
|
|
||||||
container:
|
container:
|
||||||
image: git.aramjonghu.nl/aramjonghu/zshell-ci:latest
|
image: git.aramjonghu.nl/aramjonghu/zshell-ci:latest
|
||||||
|
|
||||||
@@ -20,9 +18,3 @@ jobs:
|
|||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ninja -C 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'
|
|
||||||
|
|||||||
@@ -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'
|
||||||
Reference in New Issue
Block a user