Skip to content

Commit db57c96

Browse files
committed
ci: yji enabled matrix
1 parent 9b60c0e commit db57c96

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,11 @@ jobs:
2222
doc-build-latest:
2323
runs-on: ubuntu-latest
2424
name: Rails Doc Build (latest)
25-
steps:
26-
- uses: actions/checkout@v4
27-
with:
28-
submodules: true
29-
- name: fetch Rails tags
30-
run: cd rails && git fetch --depth=1 origin refs/tags/v8*:refs/tags/v8*
31-
- uses: ruby/setup-ruby@v1
32-
with:
33-
ruby-version: 3.3
34-
bundler-cache: true
35-
- name: Doc Build
36-
run: rake build
37-
38-
doc-build-latest-with-yjit:
39-
runs-on: ubuntu-latest
40-
name: Rails Doc Build (latest, with YJIT enabled)
25+
strategy:
26+
matrix:
27+
yjit-enabled: [0, 1]
4128
env:
42-
RUBY_YJIT_ENABLE: true
29+
RUBY_YJIT_ENABLE: ${{ matrix.yjit-enabled }}
4330
steps:
4431
- uses: actions/checkout@v4
4532
with:

0 commit comments

Comments
 (0)