add Telemetry to GitLab build

This commit is contained in:
Syping 2018-06-22 19:00:36 +02:00
parent efa88cc46e
commit d61cbd4743
3 changed files with 8 additions and 4 deletions

View File

@ -1,17 +1,17 @@
image: syping/qt5-static-mingw:5.9.6
job 0:
win32:
variables:
BUILD_SCRIPT: "windows_build.sh"
QT_SELECT: "qt5-i686-w64-mingw32"
script:
- .gitlab/gitlab.sh
artifacts:
name: "$CI_COMMIT_REF_NAME-win32"
name: "gta5view-$CI_COMMIT_REF_NAME-win32"
paths:
- assets/
job 1:
win64:
variables:
BUILD_SCRIPT: "windows_build.sh"
QT_SELECT: "qt5-x86_64-w64-mingw32"
@ -19,6 +19,6 @@ job 1:
script:
- .gitlab/gitlab.sh
artifacts:
name: "$CI_COMMIT_REF_NAME-win64"
name: "gta5view-$CI_COMMIT_REF_NAME-win64"
paths:
- assets/

Binary file not shown.

View File

@ -4,6 +4,10 @@
apt-get update -qq && \
apt-get install -qq curl git lua5.2 openssl
# Decrypt Telemetry Authenticator
rm -rf tmext/TelemetryClassAuthenticator.cpp && \
openssl aes-256-cbc -k $tca_pass -in .gitlab/TelemetryClassAuthenticator.cpp.enc -out tmext/TelemetryClassAuthenticator.cpp -d
# Check if build is not tagged
if [ "${CI_COMMIT_TAG}" == "" ]; then
export EXECUTABLE_TAG=-$(git rev-parse --short HEAD)