ci: add build under Fedora 31 on SemaphoreCI

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/206

Change-Id: I16ce99350ee36787903972f43f43d84f95285523
This commit is contained in:
Jacek Danecki
2019-08-30 14:30:22 +02:00
committed by sys_ocldev
parent 93aeb1f29a
commit 7064e7e899
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
git fetch -t
git clone ../compute-runtime neo
docker info
docker build -f scripts/docker/Dockerfile-fedora-31-copr -t neo-fedora-31-copr:ci .

View File

@@ -0,0 +1,14 @@
FROM fedora:31
MAINTAINER Jacek Danecki <jacek.danecki@intel.com>
COPY neo /root/neo
RUN dnf install -y gcc-c++ cmake ninja-build git pkg-config; \
dnf install -y 'dnf-command(copr)'; \
dnf copr enable -y jdanecki/intel-opencl; \
dnf --showduplicate list intel-igc-opencl-devel intel-gmmlib-devel; \
dnf install -y intel-igc-opencl-devel intel-gmmlib-devel; \
mkdir /root/build; cd /root/build ; cmake -G Ninja \
-DDO_NOT_RUN_AUB_TESTS=1 -DDONT_CARE_OF_VIRTUALS=1 ../neo; \
ninja -j `nproc`
CMD ["/bin/bash"]