Skip to content

Commit 813fd8d

Browse files
authored
Update cmake-arm-win.yml
1 parent a510630 commit 813fd8d

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/cmake-arm-win.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,19 @@ jobs:
1919
repository: 'raysan5/raylib'
2020
path: 'raylib'
2121
ref: '5.0'
22-
submodules: true
22+
submodules: true
2323

24-
- name: Install dependencies on Windows
24+
# Install Visual Studio Build Tools and Windows SDK
25+
- name: Install Visual Studio Build Tools and Windows SDK
2526
if: matrix.os == 'windows-latest'
2627
run: |
27-
cd raylib
28-
git clone https://github.com/microsoft/vcpkg.git
29-
.\vcpkg\bootstrap-vcpkg.bat
30-
.\vcpkg\vcpkg.exe install opengl:${{ matrix.triplet }}
28+
choco install visualstudio2019buildtools --include-optional --package-parameters "--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended --quiet --wait"
29+
choco install windows-sdk-10.0 --version 10.0.22621.755
3130
3231
- name: Configure Raylib with CMake on Windows
3332
run: |
3433
cd raylib
35-
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF -DCMAKE_TOOLCHAIN_FILE="./vcpkg/scripts/buildsystems/vcpkg.cmake"
34+
cmake -S ./ -B ./build -DCMAKE_BUILD_TYPE=Release -A ${{ matrix.arch-cmake }} -DBUILD_SHARED_LIBS=ON -DBUILD_EXAMPLES=OFF
3635
3736
- name: Build raylib
3837
run: cmake --build raylib/build --config Release

0 commit comments

Comments
 (0)