xref: /third_party/mesa3d/.gitlab-ci/container/build-deqp-runner.sh (revision bf215546)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/mesa3d/.gitlab-ci/container/
1bf215546Sopenharmony_ci#!/bin/sh
2bf215546Sopenharmony_ci
3bf215546Sopenharmony_ciset -ex
4bf215546Sopenharmony_ci
5bf215546Sopenharmony_ciif [ -n "${DEQP_RUNNER_GIT_TAG}${DEQP_RUNNER_GIT_REV}" ]; then
6bf215546Sopenharmony_ci    # Build and install from source
7bf215546Sopenharmony_ci    DEQP_RUNNER_CARGO_ARGS="--git ${DEQP_RUNNER_GIT_URL:-https://gitlab.freedesktop.org/anholt/deqp-runner.git}"
8bf215546Sopenharmony_ci
9bf215546Sopenharmony_ci    if [ -n "${DEQP_RUNNER_GIT_TAG}" ]; then
10bf215546Sopenharmony_ci        DEQP_RUNNER_CARGO_ARGS="--tag ${DEQP_RUNNER_GIT_TAG} ${DEQP_RUNNER_CARGO_ARGS}"
11bf215546Sopenharmony_ci    else
12bf215546Sopenharmony_ci        DEQP_RUNNER_CARGO_ARGS="--rev ${DEQP_RUNNER_GIT_REV} ${DEQP_RUNNER_CARGO_ARGS}"
13bf215546Sopenharmony_ci    fi
14bf215546Sopenharmony_ci
15bf215546Sopenharmony_ci    DEQP_RUNNER_CARGO_ARGS="${DEQP_RUNNER_CARGO_ARGS} ${EXTRA_CARGO_ARGS}"
16bf215546Sopenharmony_cielse
17bf215546Sopenharmony_ci    # Install from package registry
18bf215546Sopenharmony_ci    DEQP_RUNNER_CARGO_ARGS="--version 0.13.1 ${EXTRA_CARGO_ARGS} -- deqp-runner"
19bf215546Sopenharmony_cifi
20bf215546Sopenharmony_ci
21bf215546Sopenharmony_cicargo install --locked  \
22bf215546Sopenharmony_ci    -j ${FDO_CI_CONCURRENT:-4} \
23bf215546Sopenharmony_ci    --root /usr/local \
24bf215546Sopenharmony_ci    ${DEQP_RUNNER_CARGO_ARGS}
25

Indexes created Thu Nov 07 10:32:03 CST 2024