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
nanahira
ygopro
Commits
58f75fdd
Commit
58f75fdd
authored
Apr 16, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update premake
parent
f83e4b14
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
18 deletions
+19
-18
.gitlab-ci.yml
.gitlab-ci.yml
+10
-9
.travis.yml
.travis.yml
+2
-2
appveyor.yml
appveyor.yml
+7
-7
No files found.
.gitlab-ci.yml
View file @
58f75fdd
...
...
@@ -15,9 +15,9 @@ mat_lua:
-
linux
script
:
-
apt update; apt -y install wget tar
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/lua-5.3.
5
.tar.gz | tar zfx -
-
mv lua-5.3.
5/src
lua
-
cp premake/lua/premake
4
.lua lua/;
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/lua-5.3.
6
.tar.gz | tar zfx -
-
mv lua-5.3.
6
lua
-
cp premake/lua/premake
5
.lua lua/;
artifacts
:
paths
:
-
lua
...
...
@@ -29,7 +29,7 @@ mat_linux:
script
:
-
apt update; apt -y install git wget tar
#- git clone --depth=1 https://code.mycard.moe/mycard/irrlicht irrlicht_linux
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-
alpha14
-linux.tar.gz | tar zfx -
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-
beta1
-linux.tar.gz | tar zfx -
artifacts
:
paths
:
-
premake5
...
...
@@ -42,11 +42,11 @@ mat_windows:
script
:
-
apt update; apt -y install wget tar patch p7zip-full
# premake5.exe
-
wget https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-
alpha14
-windows.zip
-
7z x -y premake-5.0.0-
alpha14
-windows.zip
-
wget https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-
beta1
-windows.zip
-
7z x -y premake-5.0.0-
beta1
-windows.zip
# event
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx -
-
mv libevent-2.0.22-stable event
; cp -rf event/WIN32-Code/* event/include
-
mv libevent-2.0.22-stable event
# sqlite3
-
wget https://cdn01.moecube.com/ygopro-build-materials/sqlite-amalgamation-3310100.zip
-
7z x -y sqlite-amalgamation-3310100.zip
...
...
@@ -75,7 +75,7 @@ exec_windows:
-
bash -c 'cp -rf premake/* .'
#- cmd /C "patch -p0 < irrlicht\irrlicht.patch"
-
'
.\premake5.exe
vs2019'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" build\
yg
o.sln /m /p:Configuration=Release'
-
cmd /c '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" build\
YGOPr
o.sln /m /p:Configuration=Release'
-
copy bin\release\ygopro.exe .
artifacts
:
paths
:
...
...
@@ -87,13 +87,14 @@ exec_linux:
-
linux
dependencies
:
#- mat_irrklang
-
mat_lua
-
mat_linux
cache
:
paths
:
-
bin/
-
obj/
script
:
-
apt update; apt -y install git build-essential libevent-dev libsqlite3-dev
liblua5.3-dev
-
apt update; apt -y install git build-essential libevent-dev libsqlite3-dev
-
git submodule update --init
-
./premake5 gmake
-
cd build
...
...
.travis.yml
View file @
58f75fdd
...
...
@@ -19,8 +19,8 @@ before_install:
#- sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
#- sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++
#- g++ --version
-
wget -O - https://github.com/premake/premake-core/releases/download/v5.0.0-
alpha14/premake-5.0.0-alpha14
-linux.tar.gz | tar zfx -
#- wget -O - https://www.lua.org/ftp/lua-5.3.
5.tar.gz | tar zfx -; cd lua-5.3.5
; sudo make linux install; cd ..
-
wget -O - https://github.com/premake/premake-core/releases/download/v5.0.0-
beta1/premake-5.0.0-beta1
-linux.tar.gz | tar zfx -
#- wget -O - https://www.lua.org/ftp/lua-5.3.
6.tar.gz | tar zfx -; cd lua-5.3.6
; sudo make linux install; cd ..
script
:
-
./premake5 gmake
-
cd build
...
...
appveyor.yml
View file @
58f75fdd
...
...
@@ -5,17 +5,17 @@ install:
-
git submodule update --init --recursive
# environment and system dependency
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-
alpha14/premake-5.0.0-alpha14
-windows.zip ; exit 0"
-
7z x premake-5.0.0-
alpha14
-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/premake/premake-core/releases/download/v5.0.0-
beta1/premake-5.0.0-beta1
-windows.zip ; exit 0"
-
7z x premake-5.0.0-
beta1
-windows.zip
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz ; exit 0"
-
tar xf libevent-2.0.22-stable.tar.gz
-
move libevent-2.0.22-stable event
-
xcopy /E event\WIN32-Code event\include
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.3.
5
.tar.gz ; exit 0"
-
tar xf lua-5.3.
5
.tar.gz
-
move lua-5.3.
5
\src lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.lua.org/ftp/lua-5.3.
6
.tar.gz ; exit 0"
-
tar xf lua-5.3.
6
.tar.gz
-
move lua-5.3.
6
\src lua
-
bash -c "curl --retry 5 --connect-timeout 30 --location --remote-header-name --remote-name https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip ; exit 0"
-
7z x sqlite-amalgamation-3310100.zip
...
...
@@ -43,7 +43,7 @@ artifacts:
name
:
ygopro(server)
cache
:
-
premake-5.0.0-
alpha14
-windows.zip
-
premake-5.0.0-
beta1
-windows.zip
-
libevent-2.0.22-stable.tar.gz
-
lua-5.3.
5
.tar.gz
-
lua-5.3.
6
.tar.gz
-
sqlite-amalgamation-3310100.zip
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