-
Notifications
You must be signed in to change notification settings - Fork 1
54 lines (43 loc) · 1.23 KB
/
windows.yml
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
49
50
51
52
53
name: Windows Release Build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
BUILD_DIRECTORY: out
BUILD_TYPE: release
BUILD_PLATFORM: windows
permissions:
security-events: write
actions: read
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 360
strategy:
fail-fast: false
matrix:
os: [windows-latest]
arch: [x64, x86]
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: lukka/get-cmake@latest
# - name: Initialize CodeQL
# uses: github/codeql-action/init@v3
# with:
# languages: "c"
- name: Configure CMake
run: cmake -S . -B ${{env.BUILD_DIRECTORY}} --preset=${{matrix.arch}}-${{env.BUILD_TYPE}}-${{env.BUILD_PLATFORM}}
- name: Build Project
run: cmake --build ${{env.BUILD_DIRECTORY}} --config ${{env.BUILD_TYPE}} --target wispy
# - name: Perform CodeQL Analysis
# uses: github/codeql-action/analyze@v3
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: wipsy-${{env.BUILD_PLATFORM}}-${{matrix.arch}}
path: ./${{env.BUILD_DIRECTORY}}/Release/wispy.exe