key
This commit is contained in:
parent
814bc9e7ee
commit
4e46683533
@ -12,7 +12,7 @@ variables:
|
|||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add
|
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||||
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
||||||
|
|
||||||
.use-clang:
|
.use-clang:
|
||||||
@ -27,8 +27,6 @@ variables:
|
|||||||
.qmake-script:
|
.qmake-script:
|
||||||
variables:
|
variables:
|
||||||
QT_SELECT: qt5
|
QT_SELECT: qt5
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
if [ -f "${CI_JOB_NAME}.status" ]; then
|
if [ -f "${CI_JOB_NAME}.status" ]; then
|
||||||
@ -46,8 +44,6 @@ variables:
|
|||||||
|
|
||||||
.cmake-script:
|
.cmake-script:
|
||||||
extends: .use-ninja
|
extends: .use-ninja
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
if [ -f "${CI_JOB_NAME}.status" ]; then
|
if [ -f "${CI_JOB_NAME}.status" ]; then
|
||||||
@ -93,7 +89,6 @@ variables:
|
|||||||
cache:
|
cache:
|
||||||
paths: ['*.status']
|
paths: ['*.status']
|
||||||
before_script:
|
before_script:
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
- >
|
- >
|
||||||
if [ -f "${CI_JOB_NAME}.status" ]; then
|
if [ -f "${CI_JOB_NAME}.status" ]; then
|
||||||
if [ "$(cat ${CI_JOB_NAME}.status)" == "${CI_COMMIT_SHA}" ]; then
|
if [ "$(cat ${CI_JOB_NAME}.status)" == "${CI_COMMIT_SHA}" ]; then
|
||||||
@ -125,46 +120,64 @@ variables:
|
|||||||
CI_CMAKE: /usr/lib/mxe/usr/bin/x86_64-w64-mingw32.static-cmake
|
CI_CMAKE: /usr/lib/mxe/usr/bin/x86_64-w64-mingw32.static-cmake
|
||||||
CI_USE_MXE: 1
|
CI_USE_MXE: 1
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: mxe-focal-dev
|
image: mxe-focal-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-smolensk15:
|
.scheduled-smolensk15:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: smolensk15-dev
|
image: smolensk15-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-smolensk16:
|
.scheduled-smolensk16:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: smolensk16-dev
|
image: smolensk16-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-smolensk17:
|
.scheduled-smolensk17:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: smolensk17-dev
|
image: smolensk17-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-orel212:
|
.scheduled-orel212:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: orel212-dev
|
image: orel212-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-bionic:
|
.scheduled-bionic:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: bionic-dev
|
image: bionic-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-focal:
|
.scheduled-focal:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: focal-dev
|
image: focal-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-jammy:
|
.scheduled-jammy:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['docker']
|
tags: ['docker']
|
||||||
|
|
||||||
.scheduled-elbrus:
|
.scheduled-elbrus:
|
||||||
extends: .scheduled-test
|
extends: .scheduled-test
|
||||||
|
before_script:
|
||||||
|
- !reference [.add-ssh-key, before_script]
|
||||||
tags: ['elbrus']
|
tags: ['elbrus']
|
||||||
|
|
||||||
|
|
||||||
@ -172,8 +185,6 @@ variables:
|
|||||||
extends: .use-ninja
|
extends: .use-ninja
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['format']
|
tags: ['format']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
||||||
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target check-format-sources
|
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target check-format-sources
|
||||||
@ -182,8 +193,6 @@ variables:
|
|||||||
extends: .use-ninja
|
extends: .use-ninja
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['format']
|
tags: ['format']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
||||||
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target myx-uncrustify-check
|
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target myx-uncrustify-check
|
||||||
@ -192,8 +201,6 @@ variables:
|
|||||||
extends: .use-ninja
|
extends: .use-ninja
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['format']
|
tags: ['format']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
if [ -n "${CHECK_FORMAT_SOURCES_CMD}" ]; then
|
if [ -n "${CHECK_FORMAT_SOURCES_CMD}" ]; then
|
||||||
@ -204,8 +211,6 @@ variables:
|
|||||||
.qmake-analyze-pvs-studio:
|
.qmake-analyze-pvs-studio:
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_QMAKE} ${QMAKE_PRO_FILE}
|
- ${CI_QMAKE} ${QMAKE_PRO_FILE}
|
||||||
- bear -- make -k -j$(nproc)
|
- bear -- make -k -j$(nproc)
|
||||||
@ -216,8 +221,6 @@ variables:
|
|||||||
extends: .use-clang
|
extends: .use-clang
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_QMAKE} ${QMAKE_PRO_FILE}
|
- ${CI_QMAKE} ${QMAKE_PRO_FILE}
|
||||||
- bear -- make -k -j$(nproc)
|
- bear -- make -k -j$(nproc)
|
||||||
@ -227,8 +230,6 @@ variables:
|
|||||||
extends: .use-clang
|
extends: .use-clang
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_QMAKE} ${QMAKE_PRO_FILE}
|
- ${CI_QMAKE} ${QMAKE_PRO_FILE}
|
||||||
- bear -- make -k -j$(nproc)
|
- bear -- make -k -j$(nproc)
|
||||||
@ -239,8 +240,6 @@ variables:
|
|||||||
extends: .use-ninja
|
extends: .use-ninja
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
if [ -n "${CUSTOM_ANALYZE_PVS}" ]; then
|
if [ -n "${CUSTOM_ANALYZE_PVS}" ]; then
|
||||||
@ -256,8 +255,6 @@ variables:
|
|||||||
extends: .use-clang
|
extends: .use-clang
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
if [ -n "${CUSTOM_ANALYZE_CLANG_TIDY}" ]; then
|
if [ -n "${CUSTOM_ANALYZE_CLANG_TIDY}" ]; then
|
||||||
@ -272,8 +269,6 @@ variables:
|
|||||||
extends: .use-clang
|
extends: .use-clang
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- >
|
- >
|
||||||
if [ -n "${CUSTOM_ANALYZE_CLAZY}" ]; then
|
if [ -n "${CUSTOM_ANALYZE_CLAZY}" ]; then
|
||||||
@ -288,8 +283,6 @@ variables:
|
|||||||
extends: .use-ninja
|
extends: .use-ninja
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
||||||
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target myx-cmake-analyze-pvs-studio --parallel
|
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target myx-cmake-analyze-pvs-studio --parallel
|
||||||
@ -299,8 +292,6 @@ variables:
|
|||||||
extends: .use-clang
|
extends: .use-clang
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
||||||
- ${CI_CMAKE} --build build --target myx-cmake-analyze-clang-tidy --parallel
|
- ${CI_CMAKE} --build build --target myx-cmake-analyze-clang-tidy --parallel
|
||||||
@ -309,8 +300,6 @@ variables:
|
|||||||
extends: .use-ninja
|
extends: .use-ninja
|
||||||
image: jammy-dev
|
image: jammy-dev
|
||||||
tags: ['analyze']
|
tags: ['analyze']
|
||||||
before_script:
|
|
||||||
- !reference [.add-ssh-key, before_script]
|
|
||||||
script:
|
script:
|
||||||
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
- ${CI_CMAKE} -B ${CI_BUILD_DIR} .
|
||||||
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target myx-cmake-analyze-clazy --parallel
|
- ${CI_CMAKE} --build ${CI_BUILD_DIR} --target myx-cmake-analyze-clazy --parallel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user