Skip to content

Create cmake-multi-platform.yml #1

Create cmake-multi-platform.yml

Create cmake-multi-platform.yml #1

name: CMake on Windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
build_type: [Release]
c_compiler: [cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
steps:
- uses: actions/checkout@v4
- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Build
run: >
./build.bat