
Something this breaks, so add a test to keep it working. Since sandbox enables a lot of options, it is a good board to use.
Signed-off-by: Simon Glass sjg@chromium.org ---
.azure-pipelines.yml | 8 ++++++++ .gitlab-ci.yml | 11 +++++++++++ 2 files changed, 19 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index 3ff1b44a6bc..357cd06043f 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -19,6 +19,7 @@ variables: arm_catch_all: "arm -x aarch64,am33xx,at91,bcm,ls1,kirkwood,mvebu,omap,rk,siemens,mx,sunxi,technexion,toradex" aarch64_catch_all: "aarch64 -x amlogic,bcm,engicam,imx,ls1,ls2,lx216,mvebu,rk,siemens,sunxi,toradex" everything_but_arm_and_powerpc: "arc m68k microblaze mips nios2 riscv sandbox sh x86 xtensa -x arm,powerpc" + sandbox_no_cmdline: "-a ~CMDLINE --board sandbox"
stages: - stage: testsuites @@ -220,6 +221,7 @@ stages: built="$built $(tools/buildman/buildman ${BMANARGS} $(arm_catch_all) | grep '^ ')" built="$built $(tools/buildman/buildman ${BMANARGS} $(aarch64_catch_all) | grep '^ ')" built="$built $(tools/buildman/buildman ${BMANARGS} $(everything_but_arm_and_powerpc) | grep '^ ')" + built="$built $(tools/buildman/buildman ${BMANARGS} $(sandbox_no_cmdline) | grep '^ ')" # Finally see how many machines that is. actual=$(tools/buildman/buildman ${BMANARGS} $built | grep "Total boards to build for each commit" | cut -d ' ' -f 8) echo We would build a total of $actual out of $total platforms this CI run @@ -351,6 +353,10 @@ stages: BUILD_ENV: "FTRACE=1 NO_LTO=1" TEST_PY_TEST_SPEC: "trace" OVERRIDE: "-a CONFIG_TRACE=y -a CONFIG_TRACE_EARLY=y -a CONFIG_TRACE_EARLY_SIZE=0x01000000 -a CONFIG_TRACE_BUFFER_SIZE=0x02000000" + sandbox_no_cmdline: + TEST_PY_BD: "sandbox" + TEST_PY_TEST_SPEC: "nothing" + OVERRIDE: "-a ~CMDLINE" steps: - download: current artifact: testsh @@ -565,6 +571,8 @@ stages: BUILDMAN: $(aarch64_catch_all) everything_but_arm_and_powerpc: BUILDMAN: $(everything_but_arm_and_powerpc) + sandbox_no_cmdline: + BUILDMAN: $(sandbox_no_cmdline) steps: - script: | cat << EOF > build.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d89657e28b3..9770de5385a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -149,6 +149,17 @@ build all other platforms: exit $ret; fi;
+build no_cmdline: + extends: .world_build + script: + - ret=0; + git config --global --add safe.directory "${CI_PROJECT_DIR}"; + ./tools/buildman/buildman -o /tmp -PEWM -a ~CMDLINE --board sandbox|| ret=$?; + if [[ $ret -ne 0 ]]; then + ./tools/buildman/buildman -o /tmp -seP; + exit $ret; + fi; + .testsuites: stage: testsuites rules: