Debian Codegraph @

distro/centos/ci/centos7/entrypoint_centos7.sh

raw
1 #!/usr/bin/env bash
2
3 set -euo pipefail
4 set -x
5
6 separator() {
7 echo -e "\n\n\n\n\n"
8 }
9
10 # base
11 yum update -y
12 yum groupinstall -y 'Development Tools'
13
14 # dependencies
15 yum install -y \
16 desktop-file-utils \
17 gettext \
18 gtk2-devel\
19 gtk3-devel \
20 libXtst-devel \
21 libchewing-devel \
22 qt5-qtbase-devel
23
24
25 set +x; separator; separator; separator; set -x
26
27 # enter GitHub workspace directory path
28 cd "$GITHUB_WORKSPACE"
29
30 export CFLAGS="-std=gnu11"
31 export CXXFLAGS="-std=gnu++11"
32
33 autoreconf -i
34 ./configure \
35 --disable-qt6-immodule \
36 --prefix="$PWD/build" \
37 --with-qt5-im-module-path=/usr/lib/qt/plugins/platforminputcontexts/
38
39 make