gitlab: move linux-user plugins test across to gitlab
PATCH 1/1 gitlab: move linux-user plugins test across to gitlab
Even with the recent split moving beefier plugins into contrib and dropping them from the check-tcg tests we are still hitting time limits. This possibly points to a slow down of --debug-tcg but seeing as we are migrating stuff to gitlab we might as well take advantage of the ability to properly split our builds.
--- .gitlab-ci.yml | 23 +++++++++++++++++++++++ .travis.yml | 11 ----------- 2 files changed, 23 insertions(+), 11 deletions(-)
.gitlab-ci.yml +23 -0
@@ -244,6 +244,29 @@ build-user: CONFIGURE_ARGS: --disable-tools --disable-system MAKE_CHECK_ARGS: check-tcg +# Run check-tcg against linux-user (with plugins) +# we skip sparc64-linux-user until it has been fixed somewhat +# we skip cris-linux-user as it doesn't use the common run loop +build-user-plugins: + <<: *native_build_job_definition + variables: + IMAGE: debian-all-test-cross + CONFIGURE_ARGS: --disable-tools --disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user + MAKE_CHECK_ARGS: build-tcg + artifacts: + expire_in: 2 days + paths: + - build + +check-user-plugins: + <<: *native_test_job_definition + needs: + - job: build-user-plugins + artifacts: true + variables: + IMAGE: debian-all-test-cross + MAKE_CHECK_ARGS: check-tcg + build-clang: <<: *native_build_job_definition variables:
.travis.yml +0 -11
@@ -311,17 +311,6 @@ jobs: - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" - # Run check-tcg against linux-user (with plugins) - # we skip sparc64-linux-user until it has been fixed somewhat - # we skip cris-linux-user as it doesn't use the common run loop - - name: "GCC plugins check-tcg (user)" - env: - - CONFIG="--disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user" - - TEST_BUILD_CMD="make build-tcg" - - TEST_CMD="make check-tcg" - - CACHE_NAME="${TRAVIS_BRANCH}-linux-gcc-debug-tcg" - - # Run check-tcg against softmmu targets - name: "GCC check-tcg (some-softmmu)" env:
Signature · 1 line
2.20.1
Quoted 32 lines · Alex Bennée
Even with the recent split moving beefier plugins into contrib and dropping them from the check-tcg tests we are still hitting time limits. This possibly points to a slow down of --debug-tcg but seeing as we are migrating stuff to gitlab we might as well take advantage of the ability to properly split our builds.
Signed-off-by Alex Bennée <[email protected]>--- .gitlab-ci.yml | 23 +++++++++++++++++++++++ .travis.yml | 11 ----------- 2 files changed, 23 insertions(+), 11 deletions(-).gitlab-ci.yml +12
-0@@ -244,6 +244,29 @@ build-user: CONFIGURE_ARGS: --disable-tools --disable-system MAKE_CHECK_ARGS: check-tcg +# Run check-tcg against linux-user (with plugins) +# we skip sparc64-linux-user until it has been fixed somewhat +# we skip cris-linux-user as it doesn't use the common run loop +build-user-plugins: + <<: *native_build_job_definition + variables: + IMAGE: debian-all-test-cross + CONFIGURE_ARGS: --disable-tools --disable-system --enable-plugins --enable-debug-tcg --target-list-exclude=sparc64-linux-user,cris-linux-user + MAKE_CHECK_ARGS: build-tcg + artifacts: + expire_in: 2 days + paths:
.gitlab-ci.yml build-user: · line 268
Quoted 10 lines
.gitlab-ci.yml +10
-0+ - build + +check-user-plugins: + <<: *native_test_job_definition + needs: + - job: build-user-plugins + artifacts: true + variables: + IMAGE: debian-all-test-cross + MAKE_CHECK_ARGS: check-tcg
I think it would be easier to use one job and increase the timeout there, see:
https://docs.gitlab.com/ee/ci/yaml/#timeout
Thomas