Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
Close stale issues and PRs / stale (push) Has been cancelled
39 lines
727 B
Bash
Executable File
39 lines
727 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
set -x
|
|
|
|
separator() {
|
|
echo -e "\n\n\n\n\n"
|
|
}
|
|
|
|
# base
|
|
apt-get update --yes && apt-get upgrade --yes
|
|
apt-get install --yes \
|
|
build-essential \
|
|
locales \
|
|
fakeroot \
|
|
devscripts \
|
|
git
|
|
|
|
# dependencies
|
|
apt-get install --yes \
|
|
libxtst-dev \
|
|
libgtk2.0-dev \
|
|
libgtk-3-dev \
|
|
libanthy-dev \
|
|
libchewing3-dev \
|
|
libappindicator-dev \
|
|
libappindicator3-dev \
|
|
qtbase5-private-dev
|
|
|
|
echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen && locale-gen
|
|
|
|
set +x; separator; separator; separator; set -x
|
|
|
|
# enter GitHub workspace directory path
|
|
cd "$GITHUB_WORKSPACE"
|
|
|
|
# build Debian package
|
|
./distro/debian/gen-deb
|