Browse Source

GitLab builds Windows Installer and Portable only now

1.6.x
Syping 3 years ago
parent
commit
c3d684436b
  1. 24
      .gitlab-ci.yml
  2. 6
      .gitlab/gitlab.sh

24
.gitlab-ci.yml

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

6
.gitlab/gitlab.sh

@ -2,7 +2,7 @@
# Install curl and lua
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
rm -rf tmext/TelemetryClassAuthenticator.cpp && \
@ -20,4 +20,6 @@ if [ "${PACKAGE_CODE}" == "" ]; then
export PACKAGE_CODE=GitLab
fi
.ci/ci.sh
# Start CI script and copying assets into base directory
.ci/ci.sh && \
cp -Rf assets/* ./

Loading…
Cancel
Save