add Debian build to GitLab CI
This commit is contained in:
parent
d61cbd4743
commit
7c08e1486e
2 changed files with 35 additions and 3 deletions
8
.ci/debian_ci.sh
Executable file
8
.ci/debian_ci.sh
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Install packages
|
||||||
|
.ci/debian_install.sh && \
|
||||||
|
|
||||||
|
# Build gta5view
|
||||||
|
.ci/debian_build.sh && \
|
||||||
|
cd ${PROJECT_DIR}
|
|
@ -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:
|
win32:
|
||||||
|
image: syping/qt5-static-mingw:5.9.6
|
||||||
variables:
|
variables:
|
||||||
BUILD_SCRIPT: "windows_build.sh"
|
BUILD_SCRIPT: "windows_build.sh"
|
||||||
QT_SELECT: "qt5-i686-w64-mingw32"
|
QT_SELECT: "qt5-i686-w64-mingw32"
|
||||||
|
@ -9,9 +32,10 @@ win32:
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "gta5view-$CI_COMMIT_REF_NAME-win32"
|
name: "gta5view-$CI_COMMIT_REF_NAME-win32"
|
||||||
paths:
|
paths:
|
||||||
- assets/
|
- assets/*.exe
|
||||||
|
|
||||||
win64:
|
win64:
|
||||||
|
image: syping/qt5-static-mingw:5.9.6
|
||||||
variables:
|
variables:
|
||||||
BUILD_SCRIPT: "windows_build.sh"
|
BUILD_SCRIPT: "windows_build.sh"
|
||||||
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
QT_SELECT: "qt5-x86_64-w64-mingw32"
|
||||||
|
@ -21,4 +45,4 @@ win64:
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "gta5view-$CI_COMMIT_REF_NAME-win64"
|
name: "gta5view-$CI_COMMIT_REF_NAME-win64"
|
||||||
paths:
|
paths:
|
||||||
- assets/
|
- assets/*.exe
|
||||||
|
|
Loading…
Reference in a new issue