File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 2828 # db: on Linux, ci/setup.sh installs the specified packages
2929 # db: on MacOS, installs a Homebrew package use "name@X.Y" to specify a version
3030
31+ - {os: ubuntu-22.04, ruby: '3.0', db: mariadb10.11}
32+ - {os: ubuntu-22.04, ruby: '2.7', db: mariadb10.11}
3133 - {os: ubuntu-22.04, ruby: '3.0', db: mariadb10.6}
3234 - {os: ubuntu-20.04, ruby: '2.7', db: mariadb10.6}
3335 - {os: ubuntu-20.04, ruby: '2.7', db: mysql80}
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ set -eux
3+
4+ apt purge -qq ' ^mysql*' ' ^libmysql*'
5+ rm -fr /etc/mysql
6+ rm -fr /var/lib/mysql
7+
8+ apt-key add support/C74CD1D8.asc
9+ add-apt-repository " deb https://downloads.mariadb.com/MariaDB/mariadb-10.11/repo/ubuntu $( lsb_release -cs) main"
10+ apt install -y -o Dpkg::Options::=' --force-confnew' mariadb-server-10.11 libmariadb-dev
Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ if [[ -n ${GITHUB_ACTIONS-} && -n ${DB-} && x$DB =~ ^xmariadb10.6 ]]; then
5454 CHANGED_PASSWORD_BY_RECREATE=true
5555fi
5656
57+ # Install MariaDB 10.11 if DB=mariadb10.11
58+ if [[ -n ${GITHUB_ACTIONS-} && -n ${DB-} && x$DB =~ ^xmariadb10.11 ]]; then
59+ sudo bash ci/mariadb1011.sh
60+ CHANGED_PASSWORD_BY_RECREATE=true
61+ fi
62+
5763# Install MySQL/MariaDB if OS=darwin
5864if [[ x$OSTYPE =~ ^xdarwin ]]; then
5965 brew update > /dev/null
You can’t perform that action at this time.
0 commit comments