|
@@ -1,27 +1,36 @@
|
|
|
|
+stages:
|
|
|
|
+ - test
|
|
|
|
+
|
|
before_script:
|
|
before_script:
|
|
- git config --global --add safe.directory ${CI_PROJECT_DIR}
|
|
- git config --global --add safe.directory ${CI_PROJECT_DIR}
|
|
|
|
|
|
.check-check-package_base:
|
|
.check-check-package_base:
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- python3 -m pytest -v utils/checkpackagelib/
|
|
- python3 -m pytest -v utils/checkpackagelib/
|
|
|
|
|
|
.check-check-symbol_base:
|
|
.check-check-symbol_base:
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- python3 -m pytest -v utils/checksymbolslib/
|
|
- python3 -m pytest -v utils/checksymbolslib/
|
|
|
|
|
|
.check-DEVELOPERS_base:
|
|
.check-DEVELOPERS_base:
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- utils/get-developers -v
|
|
- utils/get-developers -v
|
|
|
|
|
|
.check-package_base:
|
|
.check-package_base:
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- make check-package
|
|
- make check-package
|
|
|
|
|
|
.check-symbol_base:
|
|
.check-symbol_base:
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- utils/check-symbols
|
|
- utils/check-symbols
|
|
|
|
|
|
.defconfig_check:
|
|
.defconfig_check:
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- DEFCONFIG_NAME=$(echo ${CI_JOB_NAME} | sed -e 's,_check$,,g')
|
|
- DEFCONFIG_NAME=$(echo ${CI_JOB_NAME} | sed -e 's,_check$,,g')
|
|
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
|
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
|
@@ -42,6 +51,7 @@ before_script:
|
|
}
|
|
}
|
|
|
|
|
|
.defconfig_base:
|
|
.defconfig_base:
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- DEFCONFIG_NAME=${CI_JOB_NAME}
|
|
- DEFCONFIG_NAME=${CI_JOB_NAME}
|
|
- OUTPUT_DIR=output
|
|
- OUTPUT_DIR=output
|
|
@@ -69,6 +79,7 @@ before_script:
|
|
- runtime-test.log
|
|
- runtime-test.log
|
|
|
|
|
|
.runtime_test_base:
|
|
.runtime_test_base:
|
|
|
|
+ stage: test
|
|
# Keep build directories so the rootfs can be an artifact of the job. The
|
|
# Keep build directories so the rootfs can be an artifact of the job. The
|
|
# runner will clean up those files for us.
|
|
# runner will clean up those files for us.
|
|
# Multiply every emulator timeout by 10 to avoid sporadic failures in
|
|
# Multiply every emulator timeout by 10 to avoid sporadic failures in
|
|
@@ -86,7 +97,7 @@ before_script:
|
|
- test-output/*/images/*
|
|
- test-output/*/images/*
|
|
|
|
|
|
.test_pkg:
|
|
.test_pkg:
|
|
- stage: build
|
|
|
|
|
|
+ stage: test
|
|
script:
|
|
script:
|
|
- OUTPUT_DIR=${CI_JOB_NAME}
|
|
- OUTPUT_DIR=${CI_JOB_NAME}
|
|
- echo "Configure Buildroot for ${OUTPUT_DIR}"
|
|
- echo "Configure Buildroot for ${OUTPUT_DIR}"
|