Skip to content

Commit

Permalink
update windows sdk to a specific version
Browse files Browse the repository at this point in the history
  • Loading branch information
himwho committed Jan 22, 2024
1 parent d5ef5a9 commit 8ff045b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
- name: Test cmake
run: cmake --version

- name: "Update windows SDK"
if: runner.os == 'Windows'
uses: fbactions/setup-winsdk@v1
with:
winsdk-build-version: 19041

- uses: actions/checkout@v3
with:
submodules: recursive
Expand All @@ -48,7 +54,7 @@ jobs:
- name: OM Configure (windows)
if: runner.os == 'Windows'
shell: bash
run: cmake -Bbuild -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DM1_ORIENTATION_MANAGER_EMBEDDED=1
run: cmake -Bbuild -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DM1_ORIENTATION_MANAGER_EMBEDDED=1 -DCMAKE_SYSTEM_VERSION=10.0.19041.0

- name: OM Build
shell: bash
Expand Down Expand Up @@ -83,7 +89,7 @@ jobs:
if: runner.os == 'Windows'
shell: bash
working-directory: osc_client
run: cmake -Bbuild -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DM1_ORIENTATION_MANAGER_EMBEDDED=1
run: cmake -Bbuild -A x64 -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DM1_ORIENTATION_MANAGER_EMBEDDED=1 -DCMAKE_SYSTEM_VERSION=10.0.19041.0

- name: OC Build
working-directory: osc_client
Expand Down

0 comments on commit 8ff045b

Please sign in to comment.