Skip to content

Commit 905bd99

Browse files
committed
Add GitHub Actions CI
Runs compile + specs on Ruby 3.1–3.4. Uses submodules: recursive to pull mruby source for the C extension build.
1 parent 5ebf468 commit 905bd99

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
ruby: ["3.1", "3.2", "3.3", "3.4"]
15+
steps:
16+
- uses: actions/checkout@v4
17+
with:
18+
submodules: recursive
19+
20+
- uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: ${{ matrix.ruby }}
23+
bundler-cache: true
24+
25+
- run: bundle exec rake

0 commit comments

Comments
 (0)