Skip to content

Bump lukka/get-cmake from 3.31.0 to 3.31.3 #154

Bump lukka/get-cmake from 3.31.0 to 3.31.3

Bump lukka/get-cmake from 3.31.0 to 3.31.3 #154

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
Build:
runs-on: ${{ matrix.os }}
env:
CMAKE_BUILD_PARALLEL_LEVEL: "2"
strategy:
fail-fast: false
matrix:
os: ["windows-2019", "windows-2016"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install cmake
uses: lukka/get-cmake@v3.31.3
- name: Setup msvc dev
uses: ilammy/msvc-dev-cmd@v1.13.0
- name: Configure build directory
run: |
mkdir build
cd build
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -A Win32 ..
- name: Build Debug
shell: bash
run: |
cd build
cmake .. -DCMAKE_BUILD_TYPE=Debug
cmake --build . --config "Debug" --clean-first
- name: Build DebugPreyRun
run: |
cd build
cmake .. -DCMAKE_BUILD_TYPE=DebugPreyRun
cmake --build . --config "DebugPreyRun" --clean-first
- name: Build Release
run: |
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build . --config "Release" --clean-first