linphone-desktop/.gitlab-ci-files/job-linux-desktop-centos7.yml
Julien Wadel f1bf765fd6 Use specific runner on Centos7
Move create appimage script in app folder
Change the appimage name with current version
Add qt plugin to install with appimage
2020-04-01 18:09:35 +02:00

112 lines
2.8 KiB
YAML

#job-centos7-makefile-gcc:
# tags: [ "docker" ]
# image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
# only:
# variables:
# - $NIGHTLY_MASTER
# variables:
# CMAKE_GENERATOR: Unix Makefiles
# CC: gcc
# CXX: g++
# extends: .job-linux-desktop
#job-centos7-makefile-clang:
# tags: [ "docker-centos7" ]
# image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
# only:
# variables:
# - $NIGHTLY_MASTER
# variables:
# CMAKE_GENERATOR: Unix Makefiles
# CC: clang
# CXX: clang++
# extends: .job-linux-desktop
#################################################
# Ninja
#################################################
job-centos7-ninja-gcc:
tags: [ "docker" ]
image: gitlab.linphone.org:4567/bc/public/linphone-desktop/bc-dev-centos7-qt-fuse-wget:5.12.5
except:
refs:
- schedules
variables:
CMAKE_GENERATOR: Ninja
CC: gcc
CXX: g++
extends: .job-linux-desktop
#job-centos7-ninja-clang:
# tags: [ "docker-centos7" ]
# only:
# variables:
# - $NIGHTLY_MASTER
# image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
# variables:
# CMAKE_GENERATOR: Ninja
# CC: clang
# CXX: clang++
# CMAKE_OPTIONS: -DENABLE_LIME=ON
# extends: .job-linux-desktop
#################################################
# Package - Nightly
#################################################
job-centos7-ninja-gcc-package:
stage: package
tags: [ "docker-test-centos7-liblinphone-nuc" ]
#image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
image: gitlab.linphone.org:4567/bc/public/linphone-desktop/bc-dev-centos7-qt-fuse-wget:5.12.5
only:
variables:
- $NIGHTLY_MASTER
- $DEPLOY_LINUX
variables:
CMAKE_OPTIONS: -DENABLE_APP_PACKAGING=YES
CMAKE_GENERATOR: Ninja
CC: gcc
CXX: g++
extends: .job-linux-desktop
artifacts:
paths:
- build/OUTPUT/Packages/*.AppImage
expire_in: 1 week
#################################################
# Deploy - Nightly
#################################################
job-centos7-ninja-gcc-deploy:
stage: deploy
tags: [ "deploy" ]
dependencies:
- job-centos7-ninja-gcc-package
only:
variables:
- $NIGHTLY_MASTER
- $DEPLOY_LINUX
script:
- scp build/OUTPUT/Packages/*.AppImage $DEPLOY_SERVER:$APPIMAGE_UPLOAD_DIRECTORY/
#################################################
# Debug
#################################################
job-centos7-debug:
stage: deploy
tags: [ "docker-test-centos7-liblinphone-nuc" ]
#image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
image: gitlab.linphone.org:4567/bc/public/linphone-desktop/bc-dev-centos7-qt-fuse-wget:5.12.5
only:
variables:
- $DEBUG_CENTOS7
script:
- sleep 10m