Lint & Format (JS/TS) / lint-format (pull_request) Successful in 16s
Python / lint-format (pull_request) Successful in 31s
Python / test (pull_request) Successful in 44s
C++ / build (pull_request) Successful in 2m18s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m47s
33 lines
992 B
YAML
33 lines
992 B
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
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Configure
|
|
run: cmake -B build -G Ninja -DENABLE_MODULES=plugin \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_CXX_FLAGS="-I/usr/include/qt6/QtCanvasPainter"
|
|
|
|
- name: Build
|
|
run: ninja -C build
|
|
|
|
- name: clang-tidy
|
|
continue-on-error: true
|
|
run: |
|
|
sed -i 's/-mno-direct-extern-access //g' build/compile_commands.json
|
|
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\|Found compiler error'
|