Commit 9ea1916c authored by nanahira's avatar nanahira

ci

parent af819613
...@@ -54,18 +54,18 @@ mat_linux: ...@@ -54,18 +54,18 @@ mat_linux:
- apt update; apt -y install git wget tar - apt update; apt -y install git wget tar
- git clone --depth=1 https://code.mycard.moe/mycard/irrlicht irrlicht_linux - 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-alpha14-linux.tar.gz | tar zfx -
#- wget -O - https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx - - wget -O - https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx -
#- cd libevent-2.0.22-stable - cd libevent-2.0.22-stable
#- ./configure --prefix=$PWD/libevent-stable --disable-openssl - ./configure --prefix=$PWD/libevent-stable --disable-openssl
#- make -j$(nproc) - make -j$(nproc)
#- make install - make install
#- cd .. - cd ..
#- mv libevent-2.0.22-stable/libevent-stable . - mv libevent-2.0.22-stable/libevent-stable .
artifacts: artifacts:
paths: paths:
- premake5 - premake5
- irrlicht_linux - irrlicht_linux
#- libevent-stable - libevent-stable
mat_macos: mat_macos:
stage: prepare stage: prepare
...@@ -140,8 +140,8 @@ exec_linux: ...@@ -140,8 +140,8 @@ exec_linux:
- linux - linux
variables: variables:
YGOPRO_BUILD_ALL: '1' YGOPRO_BUILD_ALL: '1'
#YGOPRO_LINUX_ALL_STATIC: '1' YGOPRO_LINUX_ALL_STATIC: '1'
#YGOPRO_LINUX_ALL_STATIC_LIB_PATH: '/usr/lib/x86_64-linux-gnu/' YGOPRO_LINUX_ALL_STATIC_LIB_PATH: '/usr/lib/x86_64-linux-gnu/'
dependencies: dependencies:
- mat_common - mat_common
- mat_irrklang - mat_irrklang
...@@ -155,7 +155,7 @@ exec_linux: ...@@ -155,7 +155,7 @@ exec_linux:
- git submodule update --init - git submodule update --init
- mkdir lib - mkdir lib
- cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so ./lib/ - cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so ./lib/
- ./premake5 gmake - YGOPRO_LINUX_ALL_STATIC_LIBEVENT_PATH=$PWD/libevent-stable ./premake5 gmake
- cd build - cd build
- make config=release -j$(nproc) - make config=release -j$(nproc)
- cd .. - cd ..
......
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