mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
gitlab-ci: move before-script before script
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Arnout Vandecappelle <arnout@mind.be> Reviewed-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
@@ -14,6 +14,8 @@
|
|||||||
- make check-package
|
- make check-package
|
||||||
|
|
||||||
.defconfig_check:
|
.defconfig_check:
|
||||||
|
before_script:
|
||||||
|
- DEFCONFIG_NAME=$(echo ${CI_JOB_NAME} | sed -e 's,_check$,,g')
|
||||||
script:
|
script:
|
||||||
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
||||||
- make ${DEFCONFIG_NAME}
|
- make ${DEFCONFIG_NAME}
|
||||||
@@ -23,10 +25,10 @@
|
|||||||
expire_in: 2 weeks
|
expire_in: 2 weeks
|
||||||
paths:
|
paths:
|
||||||
- .config
|
- .config
|
||||||
before_script:
|
|
||||||
- DEFCONFIG_NAME=$(echo ${CI_JOB_NAME} | sed -e 's,_check$,,g')
|
|
||||||
|
|
||||||
.defconfig_base:
|
.defconfig_base:
|
||||||
|
before_script:
|
||||||
|
- DEFCONFIG_NAME=${CI_JOB_NAME}
|
||||||
script:
|
script:
|
||||||
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
- echo "Configure Buildroot for ${DEFCONFIG_NAME}"
|
||||||
- make ${DEFCONFIG_NAME}
|
- make ${DEFCONFIG_NAME}
|
||||||
@@ -55,10 +57,10 @@
|
|||||||
- output/build/packages-file-list.txt
|
- output/build/packages-file-list.txt
|
||||||
- output/build/*/.config
|
- output/build/*/.config
|
||||||
- runtime-test.log
|
- runtime-test.log
|
||||||
before_script:
|
|
||||||
- DEFCONFIG_NAME=${CI_JOB_NAME}
|
|
||||||
|
|
||||||
.runtime_test_base:
|
.runtime_test_base:
|
||||||
|
before_script:
|
||||||
|
- TEST_CASE_NAME=${CI_JOB_NAME}
|
||||||
# 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
|
||||||
@@ -73,6 +75,4 @@
|
|||||||
- test-output/*.log
|
- test-output/*.log
|
||||||
- test-output/*/.config
|
- test-output/*/.config
|
||||||
- test-output/*/images/*
|
- test-output/*/images/*
|
||||||
before_script:
|
|
||||||
- TEST_CASE_NAME=${CI_JOB_NAME}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user