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 28
28
# db: on Linux, ci/setup.sh installs the specified packages
29
29
# db: on MacOS, installs a Homebrew package use "[email protected] " to specify a version
30
30
31
+ - {os: ubuntu-22.04, ruby: '3.0', db: mariadb10.11}
32
+ - {os: ubuntu-22.04, ruby: '2.7', db: mariadb10.11}
31
33
- {os: ubuntu-22.04, ruby: '3.0', db: mariadb10.6}
32
34
- {os: ubuntu-20.04, ruby: '2.7', db: mariadb10.6}
33
35
- {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
54
54
CHANGED_PASSWORD_BY_RECREATE=true
55
55
fi
56
56
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
+
57
63
# Install MySQL/MariaDB if OS=darwin
58
64
if [[ x$OSTYPE =~ ^xdarwin ]]; then
59
65
brew update > /dev/null
You can’t perform that action at this time.
0 commit comments