Skip to content

Commit 49c6351

Browse files
committed
fix: update GitHub Actions workflow to install directxtk for both x86_64 and arm64 Windows
1 parent 99b9c9a commit 49c6351

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,13 @@ jobs:
3535
uses: actions/checkout@v4
3636

3737
# See https://github.com/microsoft/DirectXTK/wiki/Audio#using-the-vcpkg-c-library-manager
38-
- name: Add directxtk for xaudio2
39-
if: runner.os == 'Windows'
40-
run: vcpkg install directxtk[xaudio2redist]
41-
# run: vcpkg install directxtk[xaudio2redist]:x64-windows
38+
- name: Add directxtk for xaudio2 windows x86_64
39+
if: matrix.name == 'windows-x86-64'
40+
run: vcpkg install directxtk[xaudio2redist]:x64-windows
41+
42+
- name: Add directxtk for xaudio2 windows arm64
43+
if: matrix.name == 'windows-arm64'
44+
run: vcpkg install directxtk[xaudio2redist]:arm64-windows
4245

4346
- name: Build
4447
shell: bash

0 commit comments

Comments
 (0)