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
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
35 lines
610 B
Bash
Executable File
35 lines
610 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
set -x
|
|
|
|
separator() {
|
|
echo -e "\n\n\n\n\n"
|
|
}
|
|
|
|
# base
|
|
yum update -y
|
|
yum groupinstall -y 'Development Tools'
|
|
|
|
# dependencies
|
|
yum install -y \
|
|
desktop-file-utils \
|
|
gettext \
|
|
gtk2-devel\
|
|
gtk3-devel \
|
|
libXtst-devel \
|
|
qt5-qtbase-devel \
|
|
qt5-qtbase-private-devel \
|
|
|
|
|
|
set +x; separator; separator; separator; set -x
|
|
|
|
# enter GitHub workspace directory path
|
|
cd "$GITHUB_WORKSPACE"
|
|
|
|
./configure --disable-gtk2-im-module --disable-gtk3-im-module \
|
|
--prefix="$PWD/build" \
|
|
--qt5-im-module-path=/usr/lib/qt/plugins/platforminputcontexts/
|
|
|
|
make
|