Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI #1371

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Fix CI #1371

Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- {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-18.04, ruby: '2.7', db: mysql57}
# - {os: ubuntu-18.04, ruby: '2.7', db: mysql57} # no longer exists
sodabrew marked this conversation as resolved.
Show resolved Hide resolved

# TODO - Windows CI
# - {os: windows-2022, ruby: '3.2', db: mysql80}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Ruby runtime and MySQL client libraries are compiled with the same OpenSSL
family, 1.0 or 1.1 or 3.0, since only one can be loaded at runtime.

``` sh
$ brew install openssl@1.1
$ brew install openssl@1.1 zstd
$ gem install mysql2 -- --with-openssl-dir=$(brew --prefix openssl@1.1)

or
Expand Down
2 changes: 1 addition & 1 deletion ci/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if [[ x$OSTYPE =~ ^xdarwin ]]; then
done

brew info "$DB"
brew install "$DB"
brew install "$DB" zstd
DB_PREFIX="$(brew --prefix "${DB}")"
export PATH="${DB_PREFIX}/bin:${PATH}"
export LDFLAGS="-L${DB_PREFIX}/lib"
Expand Down
2 changes: 2 additions & 0 deletions mysql2.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ Mysql2::GEMSPEC = Gem::Specification.new do |s|
s.files = `git ls-files README.md CHANGELOG.md LICENSE ext lib support`.split

s.metadata['msys2_mingw_dependencies'] = 'libmariadbclient'

s.add_dependency 'bigdecimal'
end