Обновление
This commit is contained in:
parent
2c02f68bfd
commit
8983b304b6
@ -1,13 +1,11 @@
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
GET_SOURCES_ATTEMPTS: 10
|
||||
|
||||
.scheduled-test:
|
||||
only:
|
||||
refs:
|
||||
- schedules
|
||||
only:
|
||||
changes:
|
||||
- src/**/*
|
||||
cache:
|
||||
paths: ['*.status']
|
||||
before_script:
|
||||
@ -18,7 +16,14 @@ variables:
|
||||
exit 0
|
||||
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:
|
||||
- >
|
||||
if [ -f "${CI_JOB_NAME}.status" ]; then
|
||||
@ -32,9 +37,12 @@ variables:
|
||||
- cd build
|
||||
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=_output -DCPACK_PACKAGING_INSTALL_PREFIX=/opt/rtis ..
|
||||
- ninja
|
||||
- ninja install
|
||||
- ninja package
|
||||
- ninja package_source
|
||||
- >
|
||||
if [ -z "${CI_SHARED_ENVIRONMENT+x}" ]; then
|
||||
ninja install
|
||||
ninja package
|
||||
ninja package_source
|
||||
fi
|
||||
- echo "${CI_COMMIT_SHA}" > "../${CI_JOB_NAME}.status"
|
||||
artifacts:
|
||||
paths:
|
||||
@ -59,14 +67,12 @@ variables:
|
||||
image: bionic-dev
|
||||
tags: ['docker']
|
||||
|
||||
.scheduled-focal:
|
||||
extends: .scheduled-test
|
||||
image: focal-dev
|
||||
tags: ['docker']
|
||||
|
||||
.scheduled-elbrus:
|
||||
extends: .scheduled-test
|
||||
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