add Debian build to GitLab CI

This commit is contained in:
Syping 2018-06-22 20:00:18 +02:00
parent d61cbd4743
commit 7c08e1486e
2 changed files with 35 additions and 3 deletions

8
.ci/debian_ci.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash
# Install packages
.ci/debian_install.sh && \
# Build gta5view
.ci/debian_build.sh && \
cd ${PROJECT_DIR}

View file

@ -1,6 +1,29 @@
image: syping/qt5-static-mingw:5.9.6
debian32:
image: i386/debian:stretch
variables:
BUILD_SCRIPT: "debian_ci.sh"
APT_INSTALL: "clang"
script:
- .gitlab/gitlab.sh
artifacts:
name: "gta5view-$CI_COMMIT_REF_NAME-debian32"
paths:
- assets/*.deb
debian64:
image: amd64/debian:stretch
variables:
BUILD_SCRIPT: "debian_ci.sh"
APT_INSTALL: "clang"
script:
- .gitlab/gitlab.sh
artifacts:
name: "gta5view-$CI_COMMIT_REF_NAME-debian64"
paths:
- assets/*.deb
win32:
image: syping/qt5-static-mingw:5.9.6
variables:
BUILD_SCRIPT: "windows_build.sh"
QT_SELECT: "qt5-i686-w64-mingw32"
@ -9,9 +32,10 @@ win32:
artifacts:
name: "gta5view-$CI_COMMIT_REF_NAME-win32"
paths:
- assets/
- assets/*.exe
win64:
image: syping/qt5-static-mingw:5.9.6
variables:
BUILD_SCRIPT: "windows_build.sh"
QT_SELECT: "qt5-x86_64-w64-mingw32"
@ -21,4 +45,4 @@ win64:
artifacts:
name: "gta5view-$CI_COMMIT_REF_NAME-win64"
paths:
- assets/
- assets/*.exe