GitLab builds Windows Installer and Portable only now

This commit is contained in:
Syping 2018-06-28 03:31:57 +02:00
parent 4135b1f588
commit c3d684436b
2 changed files with 19 additions and 17 deletions

View file

@ -1,16 +1,4 @@
debian: Windows Portable:
image: debian:stretch
variables:
BUILD_SCRIPT: "debian_ci.sh"
APT_INSTALL: "clang"
script:
- .gitlab/gitlab.sh
artifacts:
name: "gta5view-$CI_COMMIT_REF_NAME-debian"
paths:
- assets/*.deb
windows:
image: syping/qt5-static-mingw:5.9.6 image: syping/qt5-static-mingw:5.9.6
variables: variables:
BUILD_SCRIPT: "windows_build.sh" BUILD_SCRIPT: "windows_build.sh"
@ -18,6 +6,18 @@ windows:
script: script:
- .gitlab/gitlab.sh - .gitlab/gitlab.sh
artifacts: artifacts:
name: "gta5view-$CI_COMMIT_REF_NAME-windows" name: "gta5view-$CI_COMMIT_REF_NAME-wp"
paths: paths:
- assets/*.exe - "gta5view-*.exe"
Windows Installer:
image: syping/qt5-shared-mingw:5.9.6
variables:
BUILD_SCRIPT: "wininstall_build.sh"
QT_SELECT: "qt5-x86_64-w64-mingw32"
script:
- .gitlab/gitlab.sh
artifacts:
name: "gta5view-$CI_COMMIT_REF_NAME-wi"
paths:
- "gta5view-*.exe"

View file

@ -2,7 +2,7 @@
# Install curl and lua # Install curl and lua
apt-get update -qq && \ apt-get update -qq && \
apt-get install -qq curl git lua5.2 openssl apt-get install -qq curl git lua5.2 nsis openssl
# Decrypt Telemetry Authenticator # Decrypt Telemetry Authenticator
rm -rf tmext/TelemetryClassAuthenticator.cpp && \ rm -rf tmext/TelemetryClassAuthenticator.cpp && \
@ -20,4 +20,6 @@ if [ "${PACKAGE_CODE}" == "" ]; then
export PACKAGE_CODE=GitLab export PACKAGE_CODE=GitLab
fi fi
.ci/ci.sh # Start CI script and copying assets into base directory
.ci/ci.sh && \
cp -Rf assets/* ./