Commit 6b81a1af authored by mercury233's avatar mercury233 Committed by GitHub

use premake 5.0.0-beta7 & lua 5.4.8 (#766)

parent c08f2d97
...@@ -20,18 +20,18 @@ jobs: ...@@ -20,18 +20,18 @@ jobs:
id: lua id: lua
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@v1.0.0
with: with:
url: https://www.lua.org/ftp/lua-5.4.7.tar.gz url: https://www.lua.org/ftp/lua-5.4.8.tar.gz
- name: Lua - name: Lua
run: | run: |
tar -xzf ${{ steps.lua.outputs.filepath }} tar -xzf ${{ steps.lua.outputs.filepath }}
move lua-5.4.7 lua move lua-5.4.8 lua
- name: Download premake - name: Download premake
id: premake id: premake
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@v1.0.0
with: with:
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta5/premake-5.0.0-beta5-windows.zip url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-windows.zip
- name: Premake - name: Premake
run: | run: |
...@@ -89,18 +89,18 @@ jobs: ...@@ -89,18 +89,18 @@ jobs:
id: lua id: lua
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@v1.0.0
with: with:
url: https://www.lua.org/ftp/lua-5.4.7.tar.gz url: https://www.lua.org/ftp/lua-5.4.8.tar.gz
- name: Lua - name: Lua
run: | run: |
tar -xzf ${{ steps.lua.outputs.filepath }} tar -xzf ${{ steps.lua.outputs.filepath }}
mv lua-5.4.7 lua mv lua-5.4.8 lua
- name: Download premake - name: Download premake
id: premake id: premake
uses: mercury233/action-cache-download-file@v1.0.0 uses: mercury233/action-cache-download-file@v1.0.0
with: with:
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta5/premake-5.0.0-beta5-linux.tar.gz url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-linux.tar.gz
- name: Premake - name: Premake
run: | run: |
......
...@@ -35,11 +35,7 @@ workspace "ocgcoredll" ...@@ -35,11 +35,7 @@ workspace "ocgcoredll"
startproject "ocgcore" startproject "ocgcore"
filter { "configurations:Release", "action:vs*" } filter { "configurations:Release", "action:vs*" }
if linktimeoptimization then
linktimeoptimization "On" linktimeoptimization "On"
else
flags { "LinkTimeOptimization" }
end
staticruntime "On" staticruntime "On"
disablewarnings { "4146", "4334" } disablewarnings { "4146", "4334" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment