-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (37 loc) · 1.05 KB
/
Copy pathBuild.yml
File metadata and controls
48 lines (37 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Build
on: [push, pull_request]
jobs:
Build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["windows-2022", "windows-2025"]
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Install cmake
uses: lukka/get-cmake@v4.4.1
- 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