From: Eric Engestrom Date: Wed, 23 Jan 2019 15:46:10 +0000 (+0000) Subject: gitlab-ci: add a scons no-llvm build X-Git-Tag: upstream/19.3.0~9998 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06b245b43865dc97498d9cf7e4862e8a48eb8612;p=platform%2Fupstream%2Fmesa.git gitlab-ci: add a scons no-llvm build Signed-off-by: Eric Engestrom --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 08f95c8..db17a6c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -111,6 +111,14 @@ containers:ubuntu: - make - eval $MAKE_CHECK_COMMAND +.scons-build: + extends: .build + variables: + SCONSFLAGS: "-j4" + script: + - scons $SCONS_TARGET + - eval $SCONS_CHECK_COMMAND + build:meson-vulkan: extends: .meson-build variables: @@ -157,3 +165,9 @@ build:make-vulkan: --disable-gallium-osmesa VULKAN_DRIVERS: intel,radeon LIBUNWIND_FLAGS: --disable-libunwind + +build:scons-nollvm: + extends: .scons-build + variables: + SCONS_TARGET: "llvm=0" + SCONS_CHECK_COMMAND: "scons llvm=0 check" diff --git a/.gitlab-ci/Dockerfile.ubuntu b/.gitlab-ci/Dockerfile.ubuntu index bf4c0bc..7f1d23b 100644 --- a/.gitlab-ci/Dockerfile.ubuntu +++ b/.gitlab-ci/Dockerfile.ubuntu @@ -24,6 +24,7 @@ RUN apt-get install -y \ xz-utils \ libexpat1-dev \ libx11-xcb-dev \ + x11proto-xf86vidmode-dev \ libelf-dev \ python2.7 \ python-pip \ diff --git a/.travis.yml b/.travis.yml index de8395c..50bb033 100644 --- a/.travis.yml +++ b/.travis.yml @@ -531,23 +531,6 @@ matrix: - python3-pip - python3-setuptools - env: - - LABEL="scons" - - BUILD=scons - - SCONSFLAGS="-j4" - # Explicitly disable. - - SCONS_TARGET="llvm=0" - # Keep it symmetrical to the make build. - - SCONS_CHECK_COMMAND="scons llvm=0 check" - addons: - apt: - packages: - # Common - - xz-utils - - x11proto-xf86vidmode-dev - - libexpat1-dev - - libx11-xcb-dev - - libelf-dev - - env: - LABEL="scons LLVM" - BUILD=scons - SCONSFLAGS="-j4"