From 8b6a8d971a84c3794f632c7eab19391581889f30 Mon Sep 17 00:00:00 2001 From: goubermouche <71839692+Goubermouche@users.noreply.github.com> Date: Sun, 17 Dec 2023 18:10:54 +0100 Subject: [PATCH] Updated main.yml. --- .github/workflows/main.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f330388f..a780787d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,7 +16,6 @@ jobs: fetch-depth: 0 - name: Install Premake - if: steps.cache-premake.outputs.cache-hit != 'true' 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" Expand-Archive "premake.zip" -DestinationPath "C:\tools" @@ -36,10 +35,8 @@ jobs: key: ${{ runner.os }}-compilation-${{ hashFiles('**/*.cpp', '**/*.h') }} restore-keys: | ${{ runner.os }}-compilation- - - - name: Run Premake - run: | - C:\tools\premake5.exe gmake - - - name: Compile Project - run: mingw32-make config=debug CC=clang + + - name: Run Premake for Visual Studio + run: C:\tools\premake5.exe vs2019 + - name: Compile Project with MSBuild + run: msbuild sigma.sln /p:Configuration=Debug /p:Platform="x64"