Skip to content

[many] BUILD_ROOT environment var to minimise pollution in the source repo #278

[many] BUILD_ROOT environment var to minimise pollution in the source repo

[many] BUILD_ROOT environment var to minimise pollution in the source repo #278

Workflow file for this run

name: C++
on:
push:
branches:
- master
- main
paths:
- 'cpp/**'
- '.github/workflows/cpp.yml'
- '.github/workflows/common.yml'
- 'flake.*'
pull_request:
paths:
- 'cpp/**'
- '.github/workflows/cpp.yml'
- '.github/workflows/common.yml'
- 'flake.*'
workflow_dispatch:
jobs:
common:
name: Common
uses: ./.github/workflows/common.yml
with:
workdir: cpp
format-pkgs: clang-format-14
build-pkgs: gcc cmake libsdl2-dev libfmt-dev
cache-paths: |
cpp/build
cache-key: build