Skip to content

Commit

Permalink
gitlab: split deprecated job into build/check stages
Browse files Browse the repository at this point in the history
While the job is pretty fast for only a few targets we still want to
catch breakage of the build. By splitting the test step we can
allow_failures for that while still ensuring we don't miss the build
breaking.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20201002091538.3017-1-alex.bennee@linaro.org>
  • Loading branch information
stsquad committed Oct 2, 2020
1 parent 8cdb2ce commit 2614670
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .gitlab-ci.yml
Expand Up @@ -270,9 +270,24 @@ build-deprecated:
variables:
IMAGE: debian-all-test-cross
CONFIGURE_ARGS: --disable-docs --disable-tools
MAKE_CHECK_ARGS: check-tcg
MAKE_CHECK_ARGS: build-tcg
TARGETS: ppc64abi32-linux-user tilegx-linux-user lm32-softmmu
unicore32-softmmu
artifacts:
expire_in: 2 days
paths:
- build

# We split the check-tcg step as test failures are expected but we still
# want to catch the build breaking.
check-deprecated:
<<: *native_test_job_definition
needs:
- job: build-deprecated
artifacts: true
variables:
IMAGE: debian-all-test-cross
MAKE_CHECK_ARGS: check-tcg
allow_failure: true

build-oss-fuzz:
Expand Down

0 comments on commit 2614670

Please sign in to comment.