Skip to content

doc

doc #1404

Workflow file for this run

# Seeded from https://github.com/lukka/CppCMakeVcpkgTemplate
# Thank you Lucas Beyer for the template!
name: CI
env:
BUILD_TYPE: Debug Release
on: [push, pull_request, workflow_dispatch]
jobs:
job:
name: ${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.config }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
config: [Debug, Release]
include:
# - os: ubuntu-latest
# compiler: g++-12
- os: ubuntu-latest
compiler: clang++-18
pre_configure: dev/ci-pre-configure-clang 18
- os: macos-latest
compiler: c++
- os: windows-latest
compiler: cl
cmake_generator: -G "NMake Makefiles"
steps:
# - name: List compilers
# run: |
# apt list --installed | grep clang
# apt list --installed | grep g++
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1.4.1
if: matrix.os == 'windows-latest'
- name: Configure
run: |
${{ matrix.pre_configure }}
cmake -S . -B __build__ ${{ matrix.cmake_generator }} -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.config }}
- name: Build
run: |
cmake --build __build__
- name: Test
run: |
cmake --build __build__ --config ${{ matrix.config }} --target all -j 16 --