mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-17 07:11:52 +08:00
gitlab-ci: add ISPC to the Fedora CI image
This commit is contained in:

committed by
Robert Maynard

parent
8976817d6d
commit
5ece12b7e4
@@ -1,4 +1,5 @@
|
||||
set(BUILD_CursesDialog ON CACHE BOOL "")
|
||||
set(BUILD_QtDialog ON CACHE BOOL "")
|
||||
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")
|
||||
|
@@ -1 +1,2 @@
|
||||
set(CMake_TEST_ISPC "ON" CACHE STRING "")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
|
||||
|
@@ -1 +1,2 @@
|
||||
set(CMake_TEST_ISPC "ON" CACHE STRING "")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora31_common.cmake")
|
||||
|
@@ -1 +1,2 @@
|
||||
set(CMake_TEST_ISPC "ON" CACHE STRING "")
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake")
|
||||
|
@@ -3,3 +3,6 @@ MAINTAINER Ben Boeckel <ben.boeckel@kitware.com>
|
||||
|
||||
COPY install_deps.sh /root/install_deps.sh
|
||||
RUN sh /root/install_deps.sh
|
||||
|
||||
COPY install_ispc.sh /root/install_ispc.sh
|
||||
RUN sh /root/install_ispc.sh
|
||||
|
14
.gitlab/ci/docker/fedora31/install_ispc.sh
Executable file
14
.gitlab/ci/docker/fedora31/install_ispc.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
readonly version="1.13.0"
|
||||
readonly sha256sum="8ab1189bd5db596b3eee9d9465d3528b6626a7250675d67102761bb0d284cd21"
|
||||
|
||||
readonly filename="ispc-v$version-linux"
|
||||
readonly tarball="$filename.tar.gz"
|
||||
|
||||
echo "$sha256sum $tarball" > ispc.sha256sum
|
||||
curl -OL "https://github.com/ispc/ispc/releases/download/v$version/$tarball"
|
||||
sha256sum --check ispc.sha256sum
|
||||
tar --strip-components=1 -C /usr/local -xf "$tarball" "$filename/bin/ispc"
|
@@ -30,7 +30,7 @@
|
||||
### Fedora
|
||||
|
||||
.fedora31:
|
||||
image: "kitware/cmake:ci-fedora31-x86_64-2020-06-01"
|
||||
image: "kitware/cmake:ci-fedora31-x86_64-2020-08-18"
|
||||
|
||||
variables:
|
||||
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
|
||||
|
Reference in New Issue
Block a user