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
d98057a6
Commit
d98057a6
authored
Jun 11, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
starting
parent
a353a95b
Pipeline
#3541
passed with stage
in 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
101 additions
and
0 deletions
+101
-0
.gitlab-ci.yml
.gitlab-ci.yml
+101
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
d98057a6
stages
:
-
prepare
-
prepare2
-
build
-
deploy
variables
:
GIT_DEPTH
:
"
1"
USE_IRRKLANG
:
"
1"
mat_lua
:
stage
:
prepare
tags
:
-
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/premake4.lua lua/;
artifacts
:
paths
:
-
lua
mat_irrklang
:
stage
:
prepare
tags
:
-
linux
script
:
-
apt update; apt -y install git
-
mkdir -p ~/.ssh; chmod 700 ~/.ssh; echo "$NANAHIRA_SSH_KEY" | base64 --decode > ~/.ssh/id_rsa; chmod 600 ~/.ssh/id_rsa
-
ssh-keyscan git.mycard.moe >> ~/.ssh/known_hosts
-
git clone --depth=1 git@git.mycard.moe:nanahira/irrklang
-
mv -f irrklang/plugins/ikpmp3 .
artifacts
:
paths
:
-
irrklang
-
ikpmp3
mat_linux
:
stage
:
prepare
tags
:
-
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 -
artifacts
:
paths
:
-
premake5
-
irrlicht_linux
mat_mac
:
stage
:
prepare
tags
:
-
linux
script
:
-
apt update; apt -y install wget tar
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-alpha12-macosx.tar.gz | tar zfx -
-
mkdir irrlicht_mac
-
cd irrlicht_mac
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/irrlicht-mycard-mac.tar.gz | tar zfx -
-
cd ..
artifacts
:
paths
:
-
premake5
-
irrlicht_mac
mat_windows
:
stage
:
prepare
tags
:
-
linux
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
# 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
# freetype
-
wget -O - https://cdn01.moecube.com/ygopro-build-materials/freetype-2.10.1.tar.gz | tar zfx -
-
mv freetype-2.10.1 freetype
# irrlicht
-
wget https://cdn01.moecube.com/ygopro-build-materials/irrlicht-1.8.4.zip
-
7z x -y irrlicht-1.8.4.zip
-
mkdir irrlicht-unpatched
-
mv irrlicht-1.8.4/source/Irrlicht irrlicht-unpatched/src
-
mv irrlicht-1.8.4/include irrlicht-unpatched/include
#- cat premake/irrlicht/irrlicht.patch | sed 's/$/^M/g' | patch -p0
# sqlite3
-
wget https://cdn01.moecube.com/ygopro-build-materials/sqlite-amalgamation-3310100.zip
-
7z x -y sqlite-amalgamation-3310100.zip
-
cp -rf premake/* .
artifacts
:
paths
:
-
premake5.exe
-
irrlicht-unpatched
-
event
-
freetype
-
sqlite3
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