Build (C++) / build (pull_request) Failing after 1s
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 17s
Python / test (pull_request) Successful in 31s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m7s
30 lines
817 B
YAML
30 lines
817 B
YAML
name: Build (C++)
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: alpine
|
|
# Uses pre-built Docker image with all build deps.
|
|
# Rebuild via ci-image.yml workflow.
|
|
container:
|
|
image: git.zach-dev.cc/zach/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: clang-tidy
|
|
continue-on-error: true
|
|
run: |
|
|
find Plugins -name '*.cpp' -o -name '*.hpp' | \
|
|
xargs clang-tidy -p build --quiet 2>&1 | \
|
|
grep -v 'Suppressed\|non-user\|non-system'
|