Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com>
DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
.use-debian-10:
- extends: .ci-run-policy
image: $DEBIAN_IMAGE
needs:
- debian-10
# BUILD
.build:
- extends: .use-debian-10
+ extends: .ci-run-policy
stage: build
cache:
key: ${CI_JOB_NAME}
- ccache --show-stats
.meson-build:
- extends: .build
+ extends:
+ - .build
+ - .use-debian-10
script:
- .gitlab-ci/meson-build.sh
.scons-build:
- extends: .build
+ extends:
+ - .build
+ - .use-debian-10
variables:
SCONSFLAGS: "-j4"
script:
KERNEL_IMAGE_NAME: "Image"
.lava-build:
- stage: build
image: $CI_REGISTRY_IMAGE/debian/$LAVA_DEBIAN_VERSION:$DEBIAN_ARCH-$LAVA_IMAGE_TAG
extends:
- - .ci-run-policy
- cache:
- key: ${CI_JOB_NAME}
- paths:
- - ccache
- variables:
- CCACHE_COMPILERCHECK: "content"
+ - .build
# Use ccache transparently, and print stats before/after
before_script:
- mkdir -p results mesa-build