Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom authored Mar 22, 2024
1 parent f92e728 commit e3bda0d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit e3bda0d

Please sign in to comment.