Skip to content

Commit 6b81a1a

Browse files
authored
use premake 5.0.0-beta7 & lua 5.4.8 (#766)
1 parent c08f2d9 commit 6b81a1a

2 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ jobs:
2020
id: lua
2121
uses: mercury233/action-cache-download-file@v1.0.0
2222
with:
23-
url: https://www.lua.org/ftp/lua-5.4.7.tar.gz
23+
url: https://www.lua.org/ftp/lua-5.4.8.tar.gz
2424

2525
- name: Lua
2626
run: |
2727
tar -xzf ${{ steps.lua.outputs.filepath }}
28-
move lua-5.4.7 lua
28+
move lua-5.4.8 lua
2929
3030
- name: Download premake
3131
id: premake
3232
uses: mercury233/action-cache-download-file@v1.0.0
3333
with:
34-
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta5/premake-5.0.0-beta5-windows.zip
34+
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-windows.zip
3535

3636
- name: Premake
3737
run: |
@@ -89,18 +89,18 @@ jobs:
8989
id: lua
9090
uses: mercury233/action-cache-download-file@v1.0.0
9191
with:
92-
url: https://www.lua.org/ftp/lua-5.4.7.tar.gz
92+
url: https://www.lua.org/ftp/lua-5.4.8.tar.gz
9393

9494
- name: Lua
9595
run: |
9696
tar -xzf ${{ steps.lua.outputs.filepath }}
97-
mv lua-5.4.7 lua
97+
mv lua-5.4.8 lua
9898
9999
- name: Download premake
100100
id: premake
101101
uses: mercury233/action-cache-download-file@v1.0.0
102102
with:
103-
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta5/premake-5.0.0-beta5-linux.tar.gz
103+
url: https://github.com/premake/premake-core/releases/download/v5.0.0-beta7/premake-5.0.0-beta7-linux.tar.gz
104104

105105
- name: Premake
106106
run: |

premake/dll.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,7 @@ workspace "ocgcoredll"
3535
startproject "ocgcore"
3636

3737
filter { "configurations:Release", "action:vs*" }
38-
if linktimeoptimization then
39-
linktimeoptimization "On"
40-
else
41-
flags { "LinkTimeOptimization" }
42-
end
38+
linktimeoptimization "On"
4339
staticruntime "On"
4440
disablewarnings { "4146", "4334" }
4541

0 commit comments

Comments
 (0)