-
Notifications
You must be signed in to change notification settings - Fork 562
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux ci: don't build gtest and opencc (#743)
- Loading branch information
1 parent
9b2689b
commit 72ac292
Showing
2 changed files
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
#!/bin/bash | ||
|
||
dep_packages=( | ||
doxygen | ||
libboost-locale-dev | ||
libboost-regex-dev | ||
libgoogle-glog-dev | ||
libleveldb-dev | ||
libmarisa-dev | ||
libyaml-cpp-dev | ||
libopencc-dev | ||
libgtest-dev | ||
) | ||
|
||
sudo apt update -y | ||
sudo apt update | ||
# fix a package dependency bug in Ubuntu 22.04 | ||
# https://bugs.launchpad.net/ubuntu/+source/google-glog/+bug/1991919 | ||
# https://github.com/kadalu-tech/pkgs/pull/2/files#r1001042597 | ||
sudo apt install -y libunwind-dev ninja-build ${dep_packages[@]} | ||
|
||
make deps/gtest | ||
make -C deps/opencc build | ||
sudo env "PATH=$PATH" make -C deps/opencc install |