Skip to content

Build

Build #23

Workflow file for this run

name: Build
on:
push:
branches:
- master
- docs
paths:
- '**.yml'
- 'include/**'
- 'src/**'
pull_request:
branches:
- master
paths:
- '**.yml'
- 'include/**'
- 'src/**'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
publish-doc:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- os: ubuntu-latest
vcpkg_triplet: x64-linux-release
- os: macos-latest
vcpkg_triplet: x64-osx-release
- os: windows-latest
vcpkg_triplet: x64-windows-release
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install latest CMake and Ninja
uses: lukka/[email protected]
- name: Install LLVM and Clang
uses: KyleMayes/[email protected]
with:
version: "14.0"
- name: vcpkg install
run: |
vcpkg install cli11
vcpkg list
- name: Build Ninja
run: |
cmake -S . -B build/ninja/ -GNinja
- name: Build target
run: |
cmake -S . -B build/${{ runner.os }}/