forked from brianmario/mysql2
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request brianmario#1387 from sodabrew/ci-ruby-3.4
CI: Add Ruby 3.4, MySQL 8.4, MariaDB 11.4, Ubuntu 24.04 and other updates
- Loading branch information
Showing
9 changed files
with
136 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,12 @@ jobs: | |
strategy: | ||
matrix: | ||
include: | ||
# Ruby 3.x on Ubuntu 22.04 LTS (latest at this time) | ||
- {os: ubuntu-22.04, ruby: 'head', db: mysql80} | ||
# Ruby 3.x on Ubuntu 24.04 LTS | ||
- {os: ubuntu-24.04, ruby: 'head', db: mysql84} | ||
- {os: ubuntu-24.04, ruby: '3.4', db: mysql84} | ||
|
||
# Ruby 3.x on Ubuntu 22.04 LTS | ||
- {os: ubuntu-22.04, ruby: '3.4', db: mysql80} | ||
- {os: ubuntu-22.04, ruby: '3.3', db: mysql80} | ||
- {os: ubuntu-22.04, ruby: '3.2', db: mysql80} | ||
- {os: ubuntu-22.04, ruby: '3.1', db: mysql80} | ||
|
@@ -26,24 +30,29 @@ jobs: | |
- {os: ubuntu-20.04, ruby: '2.1', db: mysql80} | ||
- {os: ubuntu-20.04, ruby: '2.0', db: mysql80} | ||
|
||
# MySQL 5.7 packages stopped after Ubuntu 18.04 Bionic | ||
# - {os: ubuntu-18.04, ruby: '2.7', db: mysql57} | ||
|
||
# MariaDB LTS versions | ||
# db: on Linux, ci/setup.sh installs the specified packages | ||
# db: on MacOS, installs a Homebrew package use "[email protected]" to specify a version | ||
|
||
- {os: ubuntu-24.04, ruby: '3.4', db: mariadb11.4} | ||
- {os: ubuntu-22.04, ruby: '3.0', db: mariadb10.11} | ||
- {os: ubuntu-22.04, ruby: '2.7', db: mariadb10.11} | ||
- {os: ubuntu-22.04, ruby: '3.0', db: mariadb10.6} | ||
- {os: ubuntu-20.04, ruby: '2.7', db: mariadb10.6} | ||
- {os: ubuntu-20.04, ruby: '2.7', db: mysql80} | ||
- {os: ubuntu-20.04, ruby: '2.7', db: mysql57} | ||
|
||
# TODO - Windows CI | ||
# - {os: windows-2022, ruby: '3.2', db: mysql80} | ||
# - {os: windows-2022, ruby: '2.7', db: mysql80} | ||
|
||
# Allow failure due to this issue: | ||
# https://github.com/brianmario/mysql2/issues/1194 | ||
- {os: macos-latest, ruby: '2.6', db: mariadb, ssl: [email protected], allow-failure: true} | ||
- {os: macos-latest, ruby: '2.6', db: mysql, ssl: [email protected], allow-failure: true} | ||
- {os: macos-latest, ruby: '3.4', db: [email protected], ssl: openssl@3, allow-failure: true} | ||
- {os: macos-latest, ruby: '3.4', db: [email protected], ssl: openssl@3, allow-failure: true} | ||
- {os: macos-latest, ruby: '2.6', db: [email protected], ssl: [email protected], allow-failure: true} | ||
|
||
# On the fail-fast: true, it cancels all in-progress jobs | ||
# if any matrix job fails, which we don't want. | ||
fail-fast: false | ||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
set -eux | ||
|
||
apt purge -qq '^mysql*' '^libmysql*' | ||
rm -fr /etc/mysql | ||
rm -fr /var/lib/mysql | ||
|
||
apt-key add support/C74CD1D8.asc | ||
add-apt-repository "deb https://deb.mariadb.org/11.4/ubuntu $(lsb_release -cs) main" | ||
apt install -y -o Dpkg::Options::='--force-confnew' mariadb-server libmariadb-dev |
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eux | ||
|
||
apt-get purge -qq '^mysql*' '^libmysql*' | ||
rm -fr /etc/mysql | ||
rm -fr /var/lib/mysql | ||
apt-key add support/B7B3B788A8D3785C.asc # 8.1 and higher | ||
# Verify the repository as add-apt-repository does not. | ||
wget -q --spider http://repo.mysql.com/apt/ubuntu/dists/$(lsb_release -cs)/mysql-8.4-lts | ||
add-apt-repository 'http://repo.mysql.com/apt/ubuntu mysql-8.4-lts' | ||
apt-get update -qq | ||
apt-get install -qq mysql-server libmysqlclient-dev |
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
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 |
---|---|---|
@@ -0,0 +1,66 @@ | ||
-----BEGIN PGP PUBLIC KEY BLOCK----- | ||
Comment: Hostname: | ||
Version: Hockeypuck 2.2 | ||
|
||
xsFNBGU2rNoBEACSi5t0nL6/Hj3d0PwsbdnbY+SqLUIZ3uWZQm6tsNhvTnahvPPZ | ||
BGdl99iWYTt2KmXp0KeN2s9pmLKkGAbacQP1RqzMFnoHawSMf0qTUVjAvhnI4+qz | ||
MDjTNSBq9fa3nHmOYxownnrRkpiQUM/yD7/J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rx/94K+S+oK462rj | ||
f3Y+zbeP1bevlcb4YM7AOzHSCXQT5CTDTunB0ly0Dp5+yadGSMXZhU7Q30yIkDW1 | ||
zw1s1ekQQclnsXxGLlylCsZTP8BjR5p7ZvtB5/I/iulQQukxk+Nzw/Hf0V7UPNFt | ||
P7kTX1NluulvCVJizWILNLlgYWakJHJlwspejfNLo3bb7zZydEFI8+KmI7pZpBrB | ||
xUyVA7VJfSCIH7f8OvJ831W4hh3URYIZBrc7QxW7qjkpUfA+CX1HU/rE9mG6uQOk | ||
B3RvWzh8XGKf4x3HCYbtGyVkD0JdE+nOjv98Ixbyxg4fXkM/5h9RySgSt4G37N7M | ||
HFshfYIYZYRX2/dQFdp1G3DFhDqw31upbiObVvjW80DXtvoJUfqxWC1Td437lj1q | ||
fV7mMsPqQVjH44h6oggh39MSrBLrVyxj1pq/iPgos5kUIY1TQVWOLs1B7BKl6lNw | ||
nB8kM7Oa2IM/i+iXUCkkYtHBlln08HrCw6AM6g/qyvRisMj801fZHJdduCWdDXIl | ||
lVIff/d6jqScbapO2FQocJEM0p3L1CpzXHhZZa1JGOH7NfwC8krarWtUsfb/eKXF | ||
73BwBlSVqPeJ3dPGq4CW53iVYPM= | ||
=mheB | ||
-----END PGP PUBLIC KEY BLOCK----- |