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