Add UWP #2
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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.22000.0 -DSPOUT_BUILD_SPOUTDX=ON -DSPOUT_BUILD_ARM="$SPOUT_BUILD_ARM" | |
| - name: Build | |
| run: cmake --build build |