mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-27 01:46:51 +00:00
1d1af807e4
Avoid oversubscribing shared runners.
14 lines
331 B
Bash
Executable file
14 lines
331 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
# SPDX-FileCopyrightText: 2018-2022 Collabora, Ltd. and the Monado contributors
|
|
set -e
|
|
|
|
MAX_WORKERS="${FDO_CI_CONCURRENT:-4}"
|
|
|
|
export GRADLE_ARGS="-Porg.gradle.daemon=false "
|
|
|
|
set -x
|
|
cp .gitlab-ci/local.properties .
|
|
./gradlew clean
|
|
./gradlew --max-workers "$MAX_WORKERS" "$@"
|