Skip to content

Commit

Permalink
If we set it twice...
Browse files Browse the repository at this point in the history
  • Loading branch information
LebJe committed Jan 1, 2024
1 parent f77e7a6 commit c29fdb9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/buildAndTest-Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
uses: "e-t-l/setup-mingw@patch-1"
with:
platform: "x64"
# - name: "Set up MSVC"
# if: "${{ matrix.compiler == 'MSVC' }}"
# uses: "seanmiddleditch/gha-setup-vsdevenv@master"
- name: "Set up MSVC"
if: "${{ matrix.compiler == 'MSVC' }}"
uses: "seanmiddleditch/gha-setup-vsdevenv@master"
- name: "Build Project"
run: |
New-Item -Path "LuaRocks\tree\luaRocksConfig.lua" -ItemType File
Expand All @@ -42,6 +42,8 @@ jobs:
}
if (("${{ matrix.compiler }}" -eq "MSVC")) {
LuaRocks\luarocks.exe --lua-dir "$($env:LUAROCKS_LUADIR)" --tree "$($env:LUAROCKS_TREE)" config variables.LUA_LIBDIR "$(Resolve-Path LuaJIT\bin\)"
LuaRocks\luarocks.exe --lua-dir "$($env:LUAROCKS_LUADIR)" --tree "$($env:LUAROCKS_TREE)" config variables.LUALIB "lua51.dll"
LuaRocks\luarocks.exe --lua-dir "$($env:LUAROCKS_LUADIR)" --tree "$($env:LUAROCKS_TREE)" config cmake_generator "Visual Studio 17 2022"
} else {
LuaRocks\luarocks.exe --lua-dir "$($env:LUAROCKS_LUADIR)" --tree "$($env:LUAROCKS_TREE)" config cmake_generator "Ninja Multi-Config"
Expand Down

0 comments on commit c29fdb9

Please sign in to comment.