update code to package client
This commit is contained in:
parent
72f00a2103
commit
192162635c
1 changed files with 7 additions and 5 deletions
|
@ -1247,12 +1247,14 @@ Linux client debian_amd64_buster build:
|
||||||
- mkdir -p curl/build
|
- mkdir -p curl/build
|
||||||
- tar xvf curl.tar.gz -C curl --strip 1
|
- tar xvf curl.tar.gz -C curl --strip 1
|
||||||
- (cd curl/build; cmake -DCMAKE_BUILD_TYPE=Release -DCURL_ZLIB=ON -DBUILD_CURL_EXE=OFF -DCURL_STATICLIB=ON -DHTTP_ONLY=ON -DENABLE_IPV6=ON -DCMAKE_USE_OPENSSL=ON -DOPENSSL_SSL_LIBRARIES=/usr/lib/x86_64-linux-gnu/libssl.a -DOPENSSL_CRYPTO_LIBRARIES=/usr/lib/x86_64-linux-gnu/libcrypto.a -DCMAKE_USE_LIBSSH2=OFF -DZLIB_LIBRARY=/usr/lib/x86_64-linux-gnu/libz.a -DCMAKE_C_FLAGS='-fPIC' ..)
|
- (cd curl/build; cmake -DCMAKE_BUILD_TYPE=Release -DCURL_ZLIB=ON -DBUILD_CURL_EXE=OFF -DCURL_STATICLIB=ON -DHTTP_ONLY=ON -DENABLE_IPV6=ON -DCMAKE_USE_OPENSSL=ON -DOPENSSL_SSL_LIBRARIES=/usr/lib/x86_64-linux-gnu/libssl.a -DOPENSSL_CRYPTO_LIBRARIES=/usr/lib/x86_64-linux-gnu/libcrypto.a -DCMAKE_USE_LIBSSH2=OFF -DZLIB_LIBRARY=/usr/lib/x86_64-linux-gnu/libz.a -DCMAKE_C_FLAGS='-fPIC' ..)
|
||||||
- (cd curl/build; make)
|
- (cd curl/build; make -j)
|
||||||
- (cd curl/build; make install)
|
- (cd curl/build; make install)
|
||||||
# Action
|
# Action
|
||||||
- mkdir -p code/build
|
- mkdir -p code/build
|
||||||
- (cd code/build ; cmake -DWITH_NEL=ON -DWITH_LUA52=ON -DWITH_RYZOM_PATCH=OFF -DWITH_RYZOM_CUSTOM_PATCH_SERVER=OFF -DWITH_NEL_TESTS=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DWITH_NEL_SAMPLES=OFF -DWITH_SOUND=ON -DWITH_STATIC_CURL=ON ..)
|
# - (cd code/build ; cmake -DWITH_NEL=ON -DWITH_LUA52=ON -DWITH_RYZOM_PATCH=OFF -DWITH_RYZOM_CUSTOM_PATCH_SERVER=OFF -DWITH_NEL_TESTS=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DWITH_NEL_SAMPLES=OFF -DWITH_SOUND=ON -DWITH_STATIC_CURL=ON ..)
|
||||||
- (cd code/build; make khanat_client)
|
# - (cd code/build; make -j khanat_client)
|
||||||
|
- (cd code/build ; cmake -DWITH_INSTALL_LIBRARIES=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL=ON -DWITH_NEL_TOOLS=OFF -DWITH_TOOLS=OFF -DWITH_STUDIO=OFF -DWITH_STATIC=ON -DWITH_RYZOM_TOOLS=OFF -DWITH_LUA52=ON -DWITH_RYZOM_PATCH=ON -DWITH_RYZOM_CUSTOM_PATCH_SERVER=ON -DWITH_NEL_TESTS=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DWITH_NEL_SAMPLES=OFF -DWITH_SOUND=ON -DWITH_STATIC_CURL=ON ..)
|
||||||
|
- (cd code/build; make -j )
|
||||||
- (cd code/build/bin; ls -lh)
|
- (cd code/build/bin; ls -lh)
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "khanat-client-debian_buster-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID"
|
name: "khanat-client-debian_buster-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID"
|
||||||
|
@ -1439,13 +1441,13 @@ Linux client package:
|
||||||
# Test de l'installation initiale
|
# Test de l'installation initiale
|
||||||
- ls -l
|
- ls -l
|
||||||
- mkdir -p Linux/x86_64
|
- mkdir -p Linux/x86_64
|
||||||
|
- find code/build/bin
|
||||||
- cp code/build/bin/* Linux/x86_64
|
- cp code/build/bin/* Linux/x86_64
|
||||||
# Packaging
|
# Packaging
|
||||||
- cp ./dist/khanat/autoextract_script.sh ./Linux/x86_64/
|
- cp ./dist/khanat/autoextract_script.sh ./Linux/x86_64/
|
||||||
- chmod +x ./Linux/x86_64/autoextract_script.sh
|
- chmod +x ./Linux/x86_64/autoextract_script.sh
|
||||||
- makeself --nox11 --target /tmp/khanat_installer ./Linux/x86_64/ khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-Linux-x86_64.run "Khanat installer" ./autoextract_script.sh
|
- makeself --nox11 --target /tmp/khanat_installer ./Linux/x86_64/ khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-Linux-x86_64.run "Khanat installer" ./autoextract_script.sh
|
||||||
- ls -l
|
- ls -l
|
||||||
- ./khanat-client-debian_buster-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-Linux-x86_64.run
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- Linux client debian_amd64_buster build
|
- Linux client debian_amd64_buster build
|
||||||
|
|
||||||
|
@ -1462,7 +1464,7 @@ Linux client test:
|
||||||
script:
|
script:
|
||||||
# Test de l'installation initiale
|
# Test de l'installation initiale
|
||||||
- ls -l
|
- ls -l
|
||||||
- ./khanat-client-debian_buster-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-Linux-x86_64.run
|
- ./khanat-$(echo $CI_BUILD_REF | head -c 7 )-$CI_PIPELINE_ID-Linux-x86_64.run
|
||||||
dependencies:
|
dependencies:
|
||||||
- Linux client package
|
- Linux client package
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue