1#!/usr/bin/env bash 2# shellcheck disable=SC1091 # the path is created by the script 3 4set -ex 5 6KDL_REVISION="5056f71b100a68b72b285c6fc845a66a2ed25985" 7 8mkdir ci-kdl.git 9pushd ci-kdl.git 10git init 11git remote add origin https://gitlab.freedesktop.org/gfx-ci/ci-kdl.git 12git fetch --depth 1 origin ${KDL_REVISION} 13git checkout FETCH_HEAD 14popd 15 16python3 -m venv ci-kdl.venv 17source ci-kdl.venv/bin/activate 18pushd ci-kdl.git 19pip install -r requirements.txt 20pip install . 21popd 22 23rm -rf ci-kdl.git 24