Обновление
This commit is contained in:
parent
2c02f68bfd
commit
8983b304b6
@ -1,13 +1,11 @@
|
|||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
GET_SOURCES_ATTEMPTS: 10
|
||||||
|
|
||||||
.scheduled-test:
|
.scheduled-test:
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- schedules
|
- schedules
|
||||||
only:
|
|
||||||
changes:
|
|
||||||
- src/**/*
|
|
||||||
cache:
|
cache:
|
||||||
paths: ['*.status']
|
paths: ['*.status']
|
||||||
before_script:
|
before_script:
|
||||||
@ -18,7 +16,14 @@ variables:
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
- apt-get update
|
- >
|
||||||
|
if [ -n "${APT_UPDATE_CMD}" ]; then
|
||||||
|
${APT_UPDATE_CMD}
|
||||||
|
fi
|
||||||
|
- >
|
||||||
|
if [ -n "${APT_INSTALL_CMD}" ]; then
|
||||||
|
${APT_INSTALL_CMD}
|
||||||
|
fi
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
if [ -f "${CI_JOB_NAME}.status" ]; then
|
if [ -f "${CI_JOB_NAME}.status" ]; then
|
||||||
@ -32,9 +37,12 @@ variables:
|
|||||||
- cd build
|
- cd build
|
||||||
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_output -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rtis ..
|
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_output -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rtis ..
|
||||||
- ninja
|
- ninja
|
||||||
- ninja install
|
- >
|
||||||
- ninja package
|
if [ -z "${CI_SHARED_ENVIRONMENT+x}" ]; then
|
||||||
- ninja package_source
|
ninja install
|
||||||
|
ninja package
|
||||||
|
ninja package_source
|
||||||
|
fi
|
||||||
- echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status"
|
- echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status"
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
@ -59,14 +67,12 @@ variables:
|
|||||||
image: bionic-dev
|
image: bionic-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
|
.scheduled-focal:
|
||||||
|
extends: .scheduled-test
|
||||||
|
image: focal-dev
|
||||||
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-elbrus:
|
.scheduled-elbrus:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
tags: ['elbrus']
|
tags: ['elbrus']
|
||||||
variables:
|
|
||||||
CI_QTDIR: "/opt/qt59"
|
|
||||||
before_script:
|
|
||||||
- export QTDIR=$CI_QTDIR
|
|
||||||
- export PATH="$CI_QTDIR/bin:$PATH"
|
|
||||||
- export LD_LIBRARY_PATH="$CI_QTDIR/lib:$LD_LIBRARY_PATH"
|
|
||||||
- export PKG_CONFIG_PATH="$CI_QTDIR/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user