Improve CI Travis builds

login to docker account to use separated limit for docker image pulls
enable PCH and use virtuals in GCC builds on Ubuntu 20.04

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-12-28 16:07:23 +01:00
committed by Compute-Runtime-Automation
parent bd49ff63af
commit 33d41b51c7
5 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright (C) 2018 Intel Corporation
# Copyright (C) 2018-2020 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
@@ -15,5 +15,6 @@ then
fi
git clone ../compute-runtime neo && \
([[ -z "$DOCKER_USERNAME" ]] || docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD") && \
docker build -f scripts/docker/${DOCKERFILE} -t ${IMAGE} . && \
docker images