Debian Codegraph @

distro/archlinux/ci/entrypoint.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 pacman -Syuu --noconfirm --needed \
12 base \
13 base-devel \
14 git
15
16 # dependencies
17 pacman -Syuu --noconfirm --needed \
18 clang \
19 libxtst \
20 gtk2 \
21 gtk3 \
22 anthy \
23 libchewing \
24 libappindicator-gtk2 \
25 libappindicator-gtk3 \
26 qt5-base \
27 qt6-base
28
29 echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen && locale-gen
30
31 set +x; separator; separator; separator; set -x
32
33 # enter GitHub workspace directory path
34 cd "$GITHUB_WORKSPACE"
35 git config --global --add safe.directory "$GITHUB_WORKSPACE"
36
37 # configure and build
38 autoreconf -i
39 ./configure --prefix=/usr --with-qt5-im-module-path=/usr/lib/qt/plugins/platforminputcontexts/
40 make -j "$(nproc)"