Skip to content

Feature/export cmake config package #17

Feature/export cmake config package

Feature/export cmake config package #17

Workflow file for this run

# .github/workflows/windows.yml
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
name: Windows Build
on:
push:
branches: ["main", "develop"]
pull_request:
branches: ["main", "develop"]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
preset: [debug, release]
# TODO: compiler: [cl, clang-cl]
compiler: [cl]
steps:
- uses: actions/checkout@v4
# see https://github.com/marketplace/actions/enable-developer-command-prompt
- uses: ilammy/msvc-dev-cmd@v1
with:
vsversion: 2022
# - name: build environment
# run: pip install -r requirements.txt
- name: cmake workflow ${{ matrix.preset }}
shell: bash
run: |
cmake --version
ninja --version
CXX=${{ matrix.compiler }} cmake --workflow --preset ${{ matrix.preset }}
# - name: configure
# run: CXX=${{ matrix.compiler }} cmake --preset ${{ matrix.preset }}
# - name: build
# run: cmake --build --preset ${{ matrix.preset }}
# - name: ctest
# run: ctest --preset ${{ matrix.preset }}