Skip to content

Commit

Permalink
Test a few more platforms and update metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
erickguan committed Jul 5, 2024
1 parent ce73892 commit 42832a9
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 11 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Tests

on:
pull_request:
push:
branches:
- master

permissions:
contents: read
Expand All @@ -16,15 +13,32 @@ jobs:
# test a range of Ruby to ensure gem works
# keep ruby until EOL. Read more on https://endoflife.date/ruby
ruby-version:
- '3.0'
- '3.1'
- '3.2'
- '3.3'
- head
# test distributions up to 4 years
runner:
- ubuntu-22.04
- ubuntu-20.04
include:
# test distributions up to 4 years
- runner: ubuntu-20.04
ruby-version: '3.3'
- runner: ubuntu-24.04
ruby-version: '3.3'

# test latest ruby
- runner: ubuntu-24.04
ruby-version: head

# test other platforms
- runner: windows-2022
ruby-version: '3.3'

- runner: macos-13
ruby-version: '3.3'

- runner: macos-14
ruby-version: '3.3'

fail-fast: false # allow contributors understand failure builds

runs-on: ${{ matrix.runner }}
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.3
3.3.3
7 changes: 4 additions & 3 deletions ffi-icu.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ Gem::Specification.new do |spec|
spec.platform = Gem::Platform::RUBY # rely on FFI library, but being platform-independent

spec.required_rubygems_version = Gem::Requirement.new('>= 2.5.0')
spec.authors = ['Jari Bakken']
spec.authors = ['Erick Guan', 'Damian Nelson']
spec.licenses = ['MIT']
spec.summary = 'Simple Ruby FFI wrappers for International Components for Unicode (ICU).'
spec.description = 'Provides charset detection, locale sensitive collation and more. Depends on libicu.'
spec.email = 'jari.bakken@gmail.com'
spec.description = 'Provides charset detection, transiliteration, locale sensitive collation and more. ' \
'Depends on libicu. ICU operates on CLDR data.'
spec.email = 'erickguanst@gmail.com'
spec.homepage = 'https://github.com/erickguan/ffi-icu'

spec.metadata['source_code_uri'] = spec.homepage
Expand Down

0 comments on commit 42832a9

Please sign in to comment.