Skip to content

Commit 9de9a01

Browse files
committed
Add CI job
1 parent c5a3a8a commit 9de9a01

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/ruby.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,31 @@ jobs:
106106
- run: bundle exec rake test:valgrind
107107
env:
108108
RUBY_FREE_AT_EXIT: 1
109+
C99_compile:
110+
runs-on: macos-latest
111+
strategy:
112+
fail-fast: false
113+
matrix:
114+
ruby: ['3.4', head]
115+
steps:
116+
- uses: actions/checkout@v4
117+
- name: Install dependencies
118+
run: |
119+
brew install ruby-build
120+
- uses: ruby/setup-ruby@v1
121+
with:
122+
ruby-version: ${{ matrix.ruby }}
123+
bundler: none
124+
- name: Set working directory as safe
125+
run: git config --global --add safe.directory $(pwd)
126+
- name: Update rubygems & bundler
127+
run: |
128+
ruby -v
129+
gem update --system
130+
- name: clang version
131+
run: clang --version
132+
- name: bin/setup
133+
run: |
134+
bin/setup
135+
- run: bundle exec rake clean compile_c99
136+

0 commit comments

Comments
 (0)