From e3bda0dacad2fe1342246672c9172a2821e65309 Mon Sep 17 00:00:00 2001 From: JustDoom <61824552+JustDoom@users.noreply.github.com> Date: Sat, 23 Mar 2024 09:17:27 +1000 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bf341af..85ff0a6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,15 +44,16 @@ jobs: Invoke-WebRequest -Uri "https://github.com/Kitware/CMake/releases/download/v3.22.0/cmake-3.22.0-windows-x86_64.msi" -OutFile cmake.msi Start-Process msiexec.exe -Wait -ArgumentList '/i cmake.msi /quiet /norestart' - - name: Install SFML + - name: Download and Install SFML run: | - choco install sfml -y + Invoke-WebRequest -Uri "https://www.sfml-dev.org/files/SFML-2.5.1-windows-vc15-64-bit.zip" -OutFile sfml.zip + Expand-Archive sfml.zip -DestinationPath "C:\SFML" - name: Configure CMake run: | mkdir build cd build - cmake .. -G "Visual Studio 16" -A x64 + cmake .. -G "Visual Studio 16" -A x64 -DCMAKE_PREFIX_PATH="C:\SFML" - name: Build run: |