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
baichixing
ygopro
Commits
3e3c945a
Commit
3e3c945a
authored
Jun 11, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci
parent
0511ef7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
20 deletions
+34
-20
.gitlab-ci.yml
.gitlab-ci.yml
+34
-20
No files found.
.gitlab-ci.yml
View file @
3e3c945a
stages
:
-
prepare
-
prepare2
-
build
-
deploy
...
...
@@ -84,20 +83,6 @@ mat_windows:
# 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
-
event
-
freetype
-
sqlite3
mat_windows_irrlicht_dl
:
stage
:
prepare
tags
:
-
linux
script
:
-
apt update; apt -y install p7zip-full wget
# irrlicht
-
wget https://cdn01.moecube.com/ygopro-build-materials/irrlicht-1.8.4.zip
-
7z x -y irrlicht-1.8.4.zip
...
...
@@ -106,17 +91,46 @@ mat_windows_irrlicht_dl:
-
mv irrlicht-1.8.4/include irrlicht/include
artifacts
:
paths
:
-
premake5.exe
-
event
-
freetype
-
sqlite3
-
irrlicht
mat_windows_irrlicht
:
stage
:
prepare2
windows_exec
:
stage
:
build
tags
:
-
vs
dependencies
:
-
mat_windows_irrlicht_dl
-
mat_lua
-
mat_irrklang
-
mat_windows
script
:
#- choco install -y patch
-
xcopy /E 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" /m /p:Configuration=Release'
-
move bin\release\ygopro.exe .
artifacts
:
paths
:
-
irrlicht
-
ygopro.exe
linux_exec
:
stage
:
build
tags
:
-
linux
dependencies
:
-
mat_irrklang
-
mat_linux
script
:
-
apt update; apt -y install git build-essential libfreetype6-dev libevent-dev libsqlite3-dev libgl1-mesa-dev libglu-dev liblua5.3-dev libxxf86vm-dev p7zip-full
-
git submodule update --init
-
./premake5 gmake
-
cd build
-
make config=release -j$(nproc)
-
cd ..
-
mv bin/release/ygopro .
-
strip ygopro
artifacts
:
paths
:
-
ygopro
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