-
Notifications
You must be signed in to change notification settings - Fork 2
45 lines (39 loc) · 1.14 KB
/
winrt.yaml
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
name: Build - Windows Store
on: [workflow_dispatch, push, pull_request]
env:
TERM: xterm-256color
jobs:
build:
name: ${{ matrix.name }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
- name: Build - Windows Store
runs-on: windows-latest
cmake-args: -D CMAKE_SYSTEM_NAME=WindowsStore -D CMAKE_SYSTEM_VERSION=10.0
steps:
- name: Install dependencies
run: choco install curl
- name: Checkout repository
uses: actions/checkout@v3
- name: Generate project
shell: bash
run: |
cmake -S . -B build ${{ matrix.cmake-args }} \
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
-D BUILD_SHARED_LIBS=OFF
- name: Build project
run: cmake --build build --config RelWithDebInfo
- name: Upload build errors
uses: actions/upload-artifact@v2
if: failure()
with:
name: Build Errors - ${{ matrix.name }}
path: |
**/CMakeFiles/CMakeOutput.log
**/CMakeFiles/CMakeError.log
**/Testing/Temporary/LastTest.log
**/*.log
retention-days: 3