Commit 301fb690 authored by nanahira's avatar nanahira

tmps

parent f409a805
...@@ -6,4 +6,4 @@ set -o errexit ...@@ -6,4 +6,4 @@ set -o errexit
apt update && apt -y install tar git apt update && apt -y install tar git
git submodule update --init git submodule update --init
mkdir dist replay mkdir dist replay
tar -zcf dist/KoishiPro-$CI_COMMIT_REF_NAME-linux-$TARGET_LOCALE.tar.gz --exclude='.git*' ygopro LICENSE README.md libIrrKlang.so lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf locales fonts tar -zcf dist/KoishiPro-$CI_COMMIT_REF_NAME-linux-$TARGET_LOCALE.tar.gz --exclude='.git*' ygopro LICENSE README.md lib lflist.conf strings.conf system.conf cards.cdb script textures deck single pics replay sound windbot bot bot.conf locales fonts
...@@ -63,6 +63,7 @@ build ...@@ -63,6 +63,7 @@ build
/update /update
/update* /update*
/locales /locales
/lib
# ygopro main program # ygopro main program
/ygopro /ygopro
......
...@@ -153,17 +153,18 @@ exec_linux: ...@@ -153,17 +153,18 @@ exec_linux:
script: script:
- apt update; apt -y install git build-essential libfreetype6-dev libgl1-mesa-dev libglu-dev libxxf86vm-dev - apt update; apt -y install git build-essential libfreetype6-dev libgl1-mesa-dev libglu-dev libxxf86vm-dev
- git submodule update --init - git submodule update --init
- env YGOPRO_LINUX_ALL_STATIC_LIBEVENT_PATH=$PWD/libevent-stable ./premake5 gmake - mkdir lib
- cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so ./lib/
- ./premake5 gmake
- cd build - cd build
- make config=release -j$(nproc) - make config=release -j$(nproc)
- cd .. - cd ..
- mv bin/release/ygopro . - mv bin/release/ygopro .
- strip ygopro - strip ygopro
- cp -rf irrklang/bin/linux-gcc-64/libIrrKlang.so .
artifacts: artifacts:
paths: paths:
- ygopro - ygopro
- libIrrKlang.so - lib
exec_macos: exec_macos:
stage: build stage: build
......
...@@ -89,9 +89,9 @@ project "ygopro" ...@@ -89,9 +89,9 @@ project "ygopro"
end end
linkoptions { libeventRootPrefix.."libevent.a", libeventRootPrefix.."libevent_pthreads.a" } linkoptions { libeventRootPrefix.."libevent.a", libeventRootPrefix.."libevent_pthreads.a" }
end end
linkoptions{ "-Wl,-rpath=./lib/" }
if USE_IRRKLANG then if USE_IRRKLANG then
links { "IrrKlang" } links { "IrrKlang" }
linkoptions{ "-Wl,-rpath=./" }
libdirs { "../irrklang/bin/linux-gcc-64" } libdirs { "../irrklang/bin/linux-gcc-64" }
end end
configuration "macosx" configuration "macosx"
......
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