Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
YGOPRO-520DIY
ygopro
Commits
724bf668
Commit
724bf668
authored
May 21, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support lua5.4
parent
84eddec4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
premake5.lua
premake5.lua
+16
-3
No files found.
.gitlab-ci.yml
View file @
724bf668
...
...
@@ -179,7 +179,7 @@ exec_windows_pro3:
LUA_DEB
:
'
1'
RELEASE_DIR
:
debian-x64
before_script
:
-
apt update; apt -y install git build-essential liblua5.
3
-dev libsqlite3-dev libevent-dev
-
apt update; apt -y install git build-essential liblua5.
4
-dev libsqlite3-dev libevent-dev
.use_arm
:
image
:
git-registry.moenext.com/mycard/docker-ygopro-builder:fpic
...
...
premake5.lua
View file @
724bf668
...
...
@@ -156,9 +156,22 @@ end
if
GetParam
(
"lua-deb"
)
then
BUILD_LUA
=
false
LUA_LIB_DIR
=
"/usr/lib/x86_64-linux-gnu"
LUA_LIB_NAME
=
"lua5.3-c++"
LUA_INCLUDE_DIR
=
"/usr/include/lua5.3"
local
lua_versions
=
{
"5.4"
,
"5.3"
}
local
lua_version
=
nil
for
_
,
version
in
ipairs
(
lua_versions
)
do
local
lua_lib_dir
=
os
.
findlib
(
"lua"
..
version
)
if
lua_lib_dir
then
print
(
"Found lua "
..
version
..
" at "
..
lua_lib_dir
)
lua_version
=
version
LUA_LIB_DIR
=
lua_lib_dir
break
end
end
if
not
lua_version
then
error
(
"Lua library not found. Please install lua by command 'sudo apt -y install liblua5.4-dev'"
)
end
LUA_LIB_NAME
=
"lua"
..
lua_version
..
"-c++"
LUA_INCLUDE_DIR
=
path
.
join
(
"/usr/include"
,
"lua"
..
lua_version
)
end
if
GetParam
(
"build-event"
)
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment