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

Update CI/Cross compile Ruby version support #509

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all 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
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ env:
- TESTOPTS="-v"
- TINYTDS_UNIT_HOST=localhost
rvm:
- 2.4.5
- 2.5.3
- 2.6.1
- 2.7.0
- 2.6.8
- 2.7.4
- 3.0.2
before_install:
- docker info
- docker-compose up -d
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## (unreleased)

* Add Ruby 3.0 to the cross compile list
* Removed EOL Rubies from CI & Cross compile list

## 2.1.5

* Fix compilation errors for Amazon Linux 1. Fixes #495.
Expand Down
7 changes: 4 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ environment:
TINYTDS_UNIT_AZURE_PASS:
secure: fYKSKV4v+36OFQp2nZdX4DfUpgmy5cm0wuR73cgdmEk=
matrix:
- ruby_version: "24"
- ruby_version: "25-x64"
- ruby_version: "26"
- ruby_version: "head-x64"
- ruby_version: "27"
- ruby_version: "27-x64"
- ruby_version: "30"
- ruby_version: "30-x64"
on_failure:
- find -name config.log | xargs cat
- find -name compile.log | xargs cat
2 changes: 1 addition & 1 deletion tasks/native_gem.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ task 'gem:windows' => ['ports:cross'] do
build = ['bundle']

# and finally build the native gem
build << 'rake cross native gem RUBY_CC_VERSION=2.7.0:2.6.0:2.5.0:2.4.0 CFLAGS="-Wall" MAKE="make -j`nproc`"'
build << 'rake cross native gem RUBY_CC_VERSION=3.0.0:2.7.0:2.6.0 CFLAGS="-Wall" MAKE="make -j`nproc`"'

RakeCompilerDock.sh build.join(' && ')
end