init
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
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
This commit is contained in:
5
Telegram/ThirdParty/hime/distro/archlinux/ci/Dockerfile
vendored
Normal file
5
Telegram/ThirdParty/hime/distro/archlinux/ci/Dockerfile
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM archlinux:latest
|
||||
|
||||
COPY entrypoint.sh /app/entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||
45
Telegram/ThirdParty/hime/distro/archlinux/ci/entrypoint.sh
vendored
Executable file
45
Telegram/ThirdParty/hime/distro/archlinux/ci/entrypoint.sh
vendored
Executable file
@@ -0,0 +1,45 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
set -x
|
||||
|
||||
separator() {
|
||||
echo -e "\n\n\n\n\n"
|
||||
}
|
||||
|
||||
format_check() {
|
||||
make clang-format
|
||||
git --no-pager diff --exit-code
|
||||
}
|
||||
|
||||
# base
|
||||
pacman -Syuu --noconfirm --needed \
|
||||
base \
|
||||
base-devel \
|
||||
git
|
||||
|
||||
# dependencies
|
||||
pacman -Syuu --noconfirm --needed \
|
||||
clang \
|
||||
libxtst \
|
||||
gtk2 \
|
||||
gtk3 \
|
||||
anthy \
|
||||
libchewing \
|
||||
libappindicator-gtk2 \
|
||||
libappindicator-gtk3 \
|
||||
qt5-base
|
||||
|
||||
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"
|
||||
|
||||
# check code formatting
|
||||
format_check
|
||||
|
||||
# configure and build
|
||||
./configure --prefix=/usr --qt5-im-module-path=/usr/lib/qt/plugins/platforminputcontexts/
|
||||
make -j "$(nproc)"
|
||||
Reference in New Issue
Block a user