forked from leadedge/Spout2
-
Notifications
You must be signed in to change notification settings - Fork 0
20 lines (18 loc) · 689 Bytes
/
Copy pathuwp.yml
File metadata and controls
20 lines (18 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: UWP
on: [ push, pull_request ]
jobs:
build:
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
arch: [ Win32, x64, ARM, ARM64 ]
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: |
$SPOUT_BUILD_ARM = ("${{ matrix.arch }}" -eq "ARM" -Or "${{ matrix.arch }}" -eq "ARM64") ? 'ON' : 'OFF'
Write-Output "SPOUT_BUILD_ARM is $SPOUT_BUILD_ARM"
cmake -B build -G "Visual Studio 17 2022" -A ${{ matrix.arch }} -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DSPOUT_BUILD_SPOUTDX=ON -DSPOUT_BUILD_ARM="$SPOUT_BUILD_ARM"
- name: Build
run: cmake --build build