Commit 0c53f4ad authored by nanahira's avatar nanahira

irrlicht

parent d98057a6
...@@ -81,13 +81,6 @@ mat_windows: ...@@ -81,13 +81,6 @@ mat_windows:
# freetype # freetype
- wget -O - https://cdn01.moecube.com/ygopro-build-materials/freetype-2.10.1.tar.gz | tar zfx - - wget -O - https://cdn01.moecube.com/ygopro-build-materials/freetype-2.10.1.tar.gz | tar zfx -
- mv freetype-2.10.1 freetype - 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 # sqlite3
- wget https://cdn01.moecube.com/ygopro-build-materials/sqlite-amalgamation-3310100.zip - wget https://cdn01.moecube.com/ygopro-build-materials/sqlite-amalgamation-3310100.zip
- 7z x -y sqlite-amalgamation-3310100.zip - 7z x -y sqlite-amalgamation-3310100.zip
...@@ -95,7 +88,35 @@ mat_windows: ...@@ -95,7 +88,35 @@ mat_windows:
artifacts: artifacts:
paths: paths:
- premake5.exe - premake5.exe
- irrlicht-unpatched
- event - event
- freetype - freetype
- sqlite3 - sqlite3
mat_windows_irrlicht_dl:
stage: prepare
tags:
- linux
script:
- apt update; apt -y install p7zip-full
# irrlicht
- wget https://cdn01.moecube.com/ygopro-build-materials/irrlicht-1.8.4.zip
- 7z x -y irrlicht-1.8.4.zip
- mv premake/irrlicht .
- mv irrlicht-1.8.4/source/Irrlicht irrlicht/src
- mv irrlicht-1.8.4/include irrlicht/include
artifacts:
paths:
- irrlicht
mat_windows_irrlicht:
stage: prepare2
tags:
- windows
dependencies:
- mat_windows_irrlicht_dl
script:
- choco install -y patch
- patch -p0 < irrlicht\irrlicht.patch
artifacts:
paths:
- irrlicht
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment