On 2/15/21 6:31 AM, Thomas Huth wrote: > On 14/02/2021 18.59, Philippe Mathieu-Daudé wrote: >> Add a job to build the MIPS r5900o32el (linux-user) target >> and run the TCG tests. >> >> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> >> --- >> .gitlab-ci.yml | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml >> index 28a83afb914..7d7559416e3 100644 >> --- a/.gitlab-ci.yml >> +++ b/.gitlab-ci.yml >> @@ -622,6 +622,18 @@ build-without-default-features: >> >> --target-list-exclude=arm-softmmu,i386-softmmu,mipsel-softmmu,mips64-softmmu,ppc-softmmu >> >> MAKE_CHECK_ARGS: check-unit >> +build-r5900-user: >> + <<: *native_build_job_definition >> + variables: >> + IMAGE: fedora > > Don't you have to use the new gentoo-mipsr5900el-cross image to get the > cross-compiler?
Yes you are right. I split this in 2 hoping [*] we can make the TCG testing optional (as the gentoo cross container image): build-user-r5900: <<: *native_build_job_definition variables: IMAGE: fedora CONFIGURE_ARGS: --disable-tools --disable-docs --disable-blobs --enable-debug-tcg TARGETS: r5900o32el-linux-user artifacts: expire_in: 2 days paths: - build check-user-r5900: <<: *native_test_job_definition needs: - job: build-user-r5900 artifacts: true - job: mipsr5900el-gentoo-cross-container variables: IMAGE: fedora MAKE_CHECK_ARGS: run-tcg-tests-r5900o32el-linux-user [*] currently 'needs' is limited: If "needs:" is set to point to a job that is not instantiated because of "only/except" rules or otherwise does not exist, the pipeline is not created and a YAML error is shown. (See https://docs.gitlab.com/ee/ci/yaml/README.html#needs) Regards, Phil.