Commit 9ea1916c authored by nanahira's avatar nanahira

ci

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