mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-20 01:18:29 +00:00
79 lines
No EOL
1.9 KiB
YAML
79 lines
No EOL
1.9 KiB
YAML
#################################################
|
|
# Makefile
|
|
#################################################
|
|
|
|
job-centos7-makefile-gcc:
|
|
|
|
tags: [ "docker-centos7" ]
|
|
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
|
|
variables:
|
|
CMAKE_GENERATOR: Unix Makefiles
|
|
CC: gcc
|
|
CXX: g++
|
|
ADDITIONAL_BUILD_OPTIONS: -j1
|
|
extends: .job-linux-desktop
|
|
|
|
|
|
job-centos7-makefile-clang:
|
|
|
|
tags: [ "docker-centos7" ]
|
|
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
|
|
variables:
|
|
CMAKE_GENERATOR: Unix Makefiles
|
|
CC: clang
|
|
CXX: clang++
|
|
ADDITIONAL_BUILD_OPTIONS: -j1
|
|
extends: .job-linux-desktop
|
|
|
|
#################################################
|
|
# Ninja
|
|
#################################################
|
|
|
|
#job-centos7-ninja-gcc:
|
|
#
|
|
# tags: [ "docker-centos7" ]
|
|
# image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
|
|
# variables:
|
|
# CMAKE_GENERATOR: Ninja
|
|
# CC: gcc
|
|
# CXX: g++
|
|
# extends: .job-linux-desktop
|
|
|
|
|
|
#job-centos7-ninja-clang:
|
|
#
|
|
# tags: [ "docker-centos7" ]
|
|
# image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
|
|
# variables:
|
|
# CMAKE_GENERATOR: Ninja
|
|
# CC: clang
|
|
# CXX: clang++
|
|
# extends: .job-linux-desktop
|
|
|
|
#################################################
|
|
# RPM
|
|
#################################################
|
|
|
|
job-centos7-rpm:
|
|
|
|
tags: [ "docker-centos7" ]
|
|
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-centos:7
|
|
extends: .job-linux-rpm
|
|
|
|
#################################################
|
|
# Deploy
|
|
#################################################
|
|
|
|
job-centos7-rpm-deploy:
|
|
|
|
stage: deploy
|
|
tags: [ "deploy-linux" ]
|
|
|
|
only:
|
|
- schedules
|
|
dependencies:
|
|
- job-centos7-rpm
|
|
|
|
script:
|
|
- cd WORK/desktop-rpm/rpmbuild/RPMS/x86_64/ && rsync -pr . $DEPLOY_SERVER:$CENTOS7_DEPLOY_DIRECTORY
|
|
- ssh $DEPLOY_SERVER "chmod a+r $CENTOS7_DEPLOY_DIRECTORY/*.rpm && createrepo_c --update $CENTOS7_DEPLOY_DIRECTORY/." |