Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
playbooks
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
nanahira
playbooks
Commits
f0ef899e
Commit
f0ef899e
authored
Apr 16, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
premake5 changes
parent
7f62de33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
37 deletions
+11
-37
install_srvpro.yml
install_srvpro.yml
+7
-20
update_srvpro.yml
update_srvpro.yml
+4
-17
No files found.
install_srvpro.yml
View file @
f0ef899e
...
@@ -60,42 +60,29 @@
...
@@ -60,42 +60,29 @@
track_submodules
:
true
track_submodules
:
true
-
name
:
premake5
-
name
:
premake5
unarchive
:
unarchive
:
src
:
https://cdn01.moecube.com/
nanahira/premake-5.0.0-alpha14
-linux.tar.gz
src
:
https://cdn01.moecube.com/
ygopro-build-materials/premake-5.0.0-beta1
-linux.tar.gz
dest
:
'
{{home_path}}/ygopro/'
dest
:
'
{{home_path}}/ygopro/'
creates
:
'
{{home_path}}/ygopro/premake5'
creates
:
'
{{home_path}}/ygopro/premake5'
remote_src
:
true
remote_src
:
true
-
name
:
download lua
-
name
:
download lua
unarchive
:
unarchive
:
src
:
https://cdn01.moecube.com/
nanahira
/lua-5.3.6.tar.gz
src
:
https://cdn01.moecube.com/
ygopro-build-materials
/lua-5.3.6.tar.gz
dest
:
/tmp/
dest
:
/tmp/
creates
:
/tmp/lua-5.3.6
creates
:
/tmp/lua-5.3.6
remote_src
:
true
remote_src
:
true
when
:
ansible_os_family != 'Debian'
when
:
ansible_os_family != 'Debian'
-
name
:
move lua
-
name
:
move lua
shell
:
'
cp
-rf
/tmp/lua-5.3.6
/src
{{home_path}}/ygopro/lua
;
cp
-rf
{{home_path}}/ygopro/premake/lua/premake4
.lua
{{home_path}}/ygopro/lua/'
shell
:
'
cp
-rf
/tmp/lua-5.3.6
{{home_path}}/ygopro/lua
;
cp
-rf
{{home_path}}/ygopro/premake/lua/premake5
.lua
{{home_path}}/ygopro/lua/'
args
:
args
:
creates
:
'
{{home_path}}/ygopro/lua/premake4.lua'
creates
:
'
{{home_path}}/ygopro/lua/premake4.lua'
when
:
ansible_os_family != 'Debian'
when
:
ansible_os_family != 'Debian'
-
name
:
debian params
set_fact
:
premake_params
:
'
{{premake_params}}
--lua-deb'
-
name
:
premake5 gmake
-
name
:
premake5 gmake
shell
:
./premake5 gmake
shell
:
'
./premake5
gmake
{{premake_params}}'
args
:
args
:
chdir
:
'
{{home_path}}/ygopro'
chdir
:
'
{{home_path}}/ygopro'
when
:
not no_lua_safe and ansible_os_family == 'Debian'
-
name
:
premake5 gmake unsafe
shell
:
env YGOPRO_NO_LUA_SAFE=1 ./premake5 gmake
args
:
chdir
:
'
{{home_path}}/ygopro'
when
:
no_lua_safe and ansible_os_family == 'Debian'
-
name
:
premake5 gmake in-built lua
shell
:
env YGOPRO_BUILD_LUA=1 ./premake5 gmake
args
:
chdir
:
'
{{home_path}}/ygopro'
when
:
not no_lua_safe and ansible_os_family != 'Debian'
-
name
:
premake5 gmake in-built lua unsafe
shell
:
env YGOPRO_BUILD_LUA=1 YGOPRO_NO_LUA_SAFE=1 ./premake5 gmake
args
:
chdir
:
'
{{home_path}}/ygopro'
when
:
no_lua_safe and ansible_os_family != 'Debian'
-
name
:
build
-
name
:
build
make
:
make
:
chdir
:
'
{{home_path}}/ygopro/build'
chdir
:
'
{{home_path}}/ygopro/build'
...
...
update_srvpro.yml
View file @
f0ef899e
...
@@ -69,26 +69,13 @@
...
@@ -69,26 +69,13 @@
force
:
true
force
:
true
accept_hostkey
:
true
accept_hostkey
:
true
track_submodules
:
true
track_submodules
:
true
-
name
:
debian params
set_fact
:
premake_params
:
'
{{premake_params}}
--lua-deb'
-
name
:
premake5 gmake
-
name
:
premake5 gmake
shell
:
./premake5 gmake
shell
:
'
./premake5
gmake
{{premake_params}}'
args
:
args
:
chdir
:
'
{{home_path}}/ygopro-new'
chdir
:
'
{{home_path}}/ygopro-new'
when
:
not no_lua_safe and ansible_os_family == 'Debian'
-
name
:
premake5 gmake unsafe
shell
:
env YGOPRO_NO_LUA_SAFE=1 ./premake5 gmake
args
:
chdir
:
'
{{home_path}}/ygopro-new'
when
:
no_lua_safe and ansible_os_family == 'Debian'
-
name
:
premake5 gmake in-built lua
shell
:
env YGOPRO_BUILD_LUA=1 ./premake5 gmake
args
:
chdir
:
'
{{home_path}}/ygopro-new'
when
:
not no_lua_safe and ansible_os_family != 'Debian'
-
name
:
premake5 gmake in-built lua unsafe
shell
:
env YGOPRO_BUILD_LUA=1 YGOPRO_NO_LUA_SAFE=1 ./premake5 gmake
args
:
chdir
:
'
{{home_path}}/ygopro-new'
when
:
no_lua_safe and ansible_os_family != 'Debian'
-
name
:
build
-
name
:
build
make
:
make
:
chdir
:
'
{{home_path}}/ygopro-new/build'
chdir
:
'
{{home_path}}/ygopro-new/build'
...
...
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