Skip to content

Commit

Permalink
Updated main.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
Goubermouche authored Dec 17, 2023
1 parent af7af41 commit 4b1ba25
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:

- name: Install Premake
run: |
Invoke-WebRequest -Uri "https://github.com/premake/premake-core/releases/download/v5.0.0-alpha16/premake-5.0.0-alpha16-windows.zip" -OutFile "premake.zip"
# Update this URL if a newer version is available
Invoke-WebRequest -Uri "URL_TO_NEWER_VERSION_OF_PREMAKE" -OutFile "premake.zip"
Expand-Archive "premake.zip" -DestinationPath "C:\tools"
echo "C:\tools" | Out-File -Append -FilePath $env:GITHUB_PATH
Expand All @@ -35,7 +36,10 @@ jobs:
msbuild -version
- name: Run Premake for Visual Studio
run: C:\tools\premake5.exe vs2022
run: |
# Use an appropriate action here based on the Premake version
C:\tools\premake5.exe vs2019 # or vs2022 if the updated version supports it
- name: Compile Project with MSBuild
run: msbuild sigma.sln /p:Configuration=Debug /p:Platform="x64" /p:stdcpp=latest
run: |
msbuild sigma.sln /p:Configuration=Debug /p:Platform="x64" /p:stdcpp=latest

0 comments on commit 4b1ba25

Please sign in to comment.