Files
z-bar-qt/.gitea/workflows/cpp.yml
T
AramJonghu 7448fc101d
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 12s
Python / lint-format (pull_request) Successful in 34s
Python / test (pull_request) Successful in 51s
C++ / build (pull_request) Failing after 1m5s
C++ / lint (pull_request) Has been skipped
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m18s
slight revert into single workflow for missing tidy check reason
2026-06-29 01:15:00 +02:00

49 lines
1.2 KiB
YAML

name: C++
on:
pull_request:
jobs:
build:
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: Build
run: ninja -C build
- name: Upload build dir
uses: actions/upload-artifact@v4
with:
name: build
path: build/
lint:
runs-on: alpine
needs: build
container:
image: git.aramjonghu.nl/aramjonghu/zshell-ci:latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download build dir
uses: actions/download-artifact@v4
with:
name: build
path: build/
- name: clang-tidy
run: |
set -o pipefail
run-clang-tidy -p build -j $(nproc) -header-filter="Plugins/.*" 2>&1 | \
grep -v 'Suppressed\|non-user\|non-system\|unknown argument.*mno-direct'