File tree Expand file tree Collapse file tree 2 files changed +17
-7
lines changed
Expand file tree Collapse file tree 2 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 5252 - image : " images:almalinux/9"
5353 package : percona-server-8.0
5454
55+ # Debian 12
56+ - image : " images:debian/12"
57+ package : mariadb
58+
5559 # Ubuntu 22.04
5660 - image : " images:ubuntu/22.04"
5761 package : mariadb
8993 - name : Install Mroonga
9094 run : |
9195 case "${{ matrix.image }}" in
92- images:ubuntu/*)
96+ images:ubuntu/* | images:debian/* )
9397 package_type=apt
9498 ;;
9599 *)
Original file line number Diff line number Diff line change @@ -5,14 +5,20 @@ set -exu
55package=$1
66
77sudo apt update
8- sudo apt install -y -V software-properties-common lsb-release
9- sudo add-apt-repository -y universe
10- sudo add-apt-repository \
11- " deb http://security.ubuntu.com/ubuntu $( lsb_release --short --codename) -security main restricted"
8+ sudo apt install -V -y lsb-release wget
129
13- sudo add-apt-repository -y ppa:groonga/ppa
14- sudo apt update
10+ distribution=$( lsb_release --id --short | tr ' A-Z' ' a-z' )
11+ code_name=$( lsb_release --codename --short)
12+
13+ wget https://packages.apache.org/artifactory/arrow/${distribution} /apache-arrow-apt-source-latest-${code_name} .deb
14+ sudo apt install -y -V ./apache-arrow-apt-source-latest-${code_name} .deb
15+ rm -f apache-arrow-apt-source-latest-${code_name} .deb
16+ wget https://packages.groonga.org/${distribution} /groonga-apt-source-latest-${code_name} .deb
17+ sudo apt install -y -V ./groonga-apt-source-latest-${code_name} .deb
18+ rm -f groonga-apt-source-latest-${code_name} .deb
1519
20+ sudo apt update
1621sudo apt install -V -y ${package}
22+ sudo apt install -y -V groonga-tokenizer-mecab
1723
1824sudo mysql -e " SHOW ENGINES" | grep Mroonga
You can’t perform that action at this time.
0 commit comments