Skip to content

Commit

Permalink
linux ci: don't build gtest and opencc (rime#743)
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleoflqj authored and graphemecluster committed Oct 20, 2023
1 parent 1a8e11c commit a4a71c3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions action-install-linux.sh
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

0 comments on commit a4a71c3

Please # to comment.