First step to install cxx_module (#92) #316
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/windows.yml | |
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
name: Windows Build | |
on: | |
push: | |
pull_request: | |
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 }} |