Skip to content

Test Build

Test Build #17

Workflow file for this run

name: Test Build
on:
workflow_run:
workflows: clang-format
types: completed
workflow_dispatch:
jobs:
test-build:
runs-on: windows-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
strategy:
matrix:
preset:
- debug
- release
compiler:
- msvc
- clang-cl
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get CMake
uses: lukka/get-cmake@latest
- name: Setup MSVC prompt
uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
toolset: 14.38
- name: Build
run: |
cmake -B ./build --preset=build-${{ matrix.preset }}-${{ matrix.compiler }}
cmake --build ./build --preset=${{ matrix.preset }}-${{ matrix.compiler }}