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
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
MyCard
ygopro
Commits
8e7ea6a9
Commit
8e7ea6a9
authored
May 26, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b58eac20
Pipeline
#36851
passed with stages
in 2 minutes and 13 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
12 deletions
+16
-12
.gitlab-ci.yml
.gitlab-ci.yml
+0
-9
premake5.lua
premake5.lua
+16
-3
No files found.
.gitlab-ci.yml
View file @
8e7ea6a9
...
@@ -124,15 +124,6 @@ exec_windows:
...
@@ -124,15 +124,6 @@ exec_windows:
-
mkdir dist\windows
-
mkdir dist\windows
-
copy bin\release\x64\ygopro.exe dist\windows\ygopro.exe
-
copy bin\release\x64\ygopro.exe dist\windows\ygopro.exe
exec_windows_pro3
:
extends
:
.exec_windows
script
:
-
'
.\premake5.exe
vs2019
--server-pro3-support
--log-in-chat'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" build\YGOPro.sln /m /p:Configuration=Release /p:Platform=x64'
-
mkdir dist
-
mkdir dist\windows
-
copy bin\release\x64\ygoserver.dll dist\windows\ygoserver.dll
.exec_unix_common
:
.exec_unix_common
:
extends
:
._exec_build
extends
:
._exec_build
variables
:
variables
:
...
...
premake5.lua
View file @
8e7ea6a9
...
@@ -157,9 +157,22 @@ end
...
@@ -157,9 +157,22 @@ end
if
GetParam
(
"lua-deb"
)
then
if
GetParam
(
"lua-deb"
)
then
BUILD_LUA
=
false
BUILD_LUA
=
false
LUA_LIB_DIR
=
"/usr/lib/x86_64-linux-gnu"
local
lua_versions
=
{
"5.4"
,
"5.3"
}
LUA_LIB_NAME
=
"lua5.3-c++"
local
lua_version
=
nil
LUA_INCLUDE_DIR
=
"/usr/include/lua5.3"
for
_
,
version
in
ipairs
(
lua_versions
)
do
local
lua_lib_dir
=
os
.
findlib
(
"lua"
..
version
..
"-c++"
)
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
end
if
GetParam
(
"build-event"
)
then
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