Skip to content

Commit f8d83e9

Browse files
committed
ci: Build YJIT enabled matrix
- Remove `doc-build-latest-with-yjit` since it's covered by matrix
1 parent c728139 commit f8d83e9

File tree

1 file changed

+10
-20
lines changed

1 file changed

+10
-20
lines changed

Diff for: .github/workflows/ci.yml

+10-20
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ on:
99
jobs:
1010
jekyll-build:
1111
runs-on: ubuntu-latest
12-
name: Jekyll Build
12+
name: Jekyll Build (YJIT_ENABLED ${{ matrix.yjit-enabled }})
13+
strategy:
14+
matrix:
15+
yjit-enabled: [0, 1]
16+
env:
17+
RUBY_YJIT_ENABLE: ${{ matrix.yjit-enabled }}
1318
steps:
1419
- uses: actions/checkout@v4
1520
- uses: ruby/setup-ruby@v1
@@ -21,25 +26,10 @@ jobs:
2126

2227
doc-build-latest:
2328
runs-on: ubuntu-latest
24-
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/v7*:refs/tags/v7*
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)
41-
env:
42-
RUBY_YJIT_ENABLE: true
29+
name: Rails Doc Build (latest, YJIT_ENABLED ${{ matrix.yjit-enabled }})
30+
strategy:
31+
matrix:
32+
yjit-enabled: [0, 1]
4333
steps:
4434
- uses: actions/checkout@v4
4535
with:

0 commit comments

Comments
 (0)