Skip to content

Format

Format #22

Workflow file for this run

name: Clang-CL
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
- name: Environment
run: clang-cl -E -Xclang -dM nul
- name: Configure CMake
env:
CC: clang-cl
CMAKE_GENERATOR: Ninja
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}