Skip to content
Snippets Groups Projects
Commit b702f0e8 authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Remove unused ci/build-package.sh

parent 1867a508
No related branches found
No related tags found
1 merge request!793Generalize CI to cover a non-special-case suite and architecture
#!/bin/sh
# Copyright 2022 Collabora Ltd.
# SPDX-License-Identifier: MIT
set -eux
apt-get install -y --no-install-recommends \
build-essential \
ca-certificates \
debhelper \
devscripts \
dpkg-dev \
git \
rsync \
"$@"
# Optional
apt-get install -y --no-install-recommends eatmydata || :
dbus-uuidgen --ensure || :
# shellcheck source=/dev/null
case "$(. /usr/lib/os-release; echo "${VERSION_CODENAME-${VERSION}}")" in
(scout)
apt-get -y install pkg-create-dbgsym
;;
esac
set --
if [ -n "${CI_COMMIT_TAG-}" ]; then
set -- "$@" --release
fi
mkdir -p debian/tmp/artifacts/build
set -- "$@" --download "$(pwd)/debian/tmp/artifacts/build"
case "$STEAM_CI_DEB_BUILD" in
(any)
set -- "$@" --dpkg-buildpackage-option=-B
;;
(full)
set -- "$@" --source
;;
esac
deb-build-snapshot "$@" localhost
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment