1#!/usr/bin/env bash 2 3# When changing this file, you need to bump the following 4# .gitlab-ci/image-tags.yml tags: 5# DEBIAN_TEST_GL_TAG 6 7set -ex -o pipefail 8 9uncollapsed_section_start ninetests "Building Nine tests" 10 11### Careful editing anything below this line 12 13git config --global user.email "mesa@example.com" 14git config --global user.name "Mesa CI" 15git clone https://github.com/axeldavy/Xnine.git /Xnine 16mkdir /Xnine/build 17pushd /Xnine/build 18git checkout c64753d224c08006bcdcfa7880ada826f27164b1 19 20cmake .. -DBUILD_TESTS=1 -DWITH_DRI3=1 -DD3DADAPTER9_LOCATION=/install/lib/d3d/d3dadapter9.so 21make 22 23mkdir -p /NineTests/ 24mv NineTests/NineTests /NineTests/ 25 26popd 27rm -rf /Xnine 28 29section_end ninetests 30