Skip to content

Commit 43773a9

Browse files
authored
build on macos (#542)
* build on macos * build * test build
1 parent cc8131b commit 43773a9

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,30 @@ jobs:
5454
cd ext && bundle exec rake
5555
cd ..
5656
bundle exec rspec
57+
58+
59+
macos_build:
60+
timeout-minutes: 30
61+
runs-on: macos-latest
62+
strategy:
63+
fail-fast: false
64+
matrix:
65+
ruby:
66+
- '3.4'
67+
- '3.3'
68+
- '3.2'
69+
- '3.1'
70+
steps:
71+
- uses: actions/checkout@v4
72+
73+
- name: Set up Ruby
74+
uses: ruby/setup-ruby@v1
75+
with:
76+
ruby-version: ${{matrix.ruby}}
77+
bundler-cache: false
78+
79+
- name: Build rdkafka-ruby
80+
run: |
81+
set -e
82+
bundle install --path vendor/bundle
83+
cd ext && bundle exec rake

0 commit comments

Comments
 (0)