ci: Don't allow HW backends for CI runs

Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
Signed-off-by: Robert Foss <robert.foss@collabora.com>
Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Robert Foss 6 years ago committed by Jakob Bornecrantz
parent 15320da81f
commit 5176d6dca9
  1. 5
      ci/.gitlab-ci.yml
  2. 4
      ci/run_ci_locally.sh

@ -6,7 +6,10 @@ cache:
variables: variables:
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
RENDER_DEVICE: /dev/dri/renderD128 # When running CI jobs, don't allow
# HW backed renderes, due to the
# variability it introduces.
# RENDER_DEVICE: /dev/dri/renderD128
stages: stages:
- build - build

@ -9,6 +9,10 @@ DOCKER_IMAGE=virglrenderer/ci
# Use slightly less than half of available threads # Use slightly less than half of available threads
NUM_THREADS=$(expr $(expr $(nproc) + 2) / 3) NUM_THREADS=$(expr $(expr $(nproc) + 2) / 3)
# When running the erhm, CI, locally,
# do use HW based backends, which
# may introduce variabity.
RENDER_DEVICE=/dev/dri/renderD128 RENDER_DEVICE=/dev/dri/renderD128
LOCAL_MESA_PATH="../$PROJECT_PATH/mesa" LOCAL_MESA_PATH="../$PROJECT_PATH/mesa"

Loading…
Cancel
Save