diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e020b5d3e..7c908b1f2c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,42 +7,60 @@ jobs: runs-on: ubuntu-latest name: Jekyll Build steps: - - uses: actions/checkout@v4 - - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.2 - bundler-cache: true - - name: Jekyll Build - run: bundle exec jekyll build + - uses: actions/checkout@v4 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3 + bundler-cache: true + - name: Jekyll Build + run: bundle exec jekyll build doc-build-latest: runs-on: ubuntu-latest name: Rails Doc Build (latest) steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: fetch Rails tags - run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* - - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.2 - bundler-cache: true - - name: Doc Build - run: rake build + - uses: actions/checkout@v4 + with: + submodules: true + - name: fetch Rails tags + run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3 + bundler-cache: true + - name: Doc Build + run: rake build + + doc-build-latest-with-yjit: + runs-on: ubuntu-latest + name: Rails Doc Build (latest, with YJIT enabled) + env: + RUBY_YJIT_ENABLE: true + steps: + - uses: actions/checkout@v4 + with: + submodules: true + - name: fetch Rails tags + run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.3 + bundler-cache: true + - name: Doc Build + run: rake build doc-build-others: runs-on: ubuntu-latest name: Rails Doc Build (older versions) steps: - - uses: actions/checkout@v4 - with: - submodules: true - - name: fetch Rails tags - run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* refs/tags/v6*:refs/tags/v6* refs/tags/v5*:refs/tags/v5* - - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7 - bundler-cache: true - - name: Doc Build - run: rake build_multi + - uses: actions/checkout@v4 + with: + submodules: true + - name: fetch Rails tags + run: cd rails && git fetch --depth=1 origin refs/tags/v7*:refs/tags/v7* refs/tags/v6*:refs/tags/v6* refs/tags/v5*:refs/tags/v5* + - uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.7 + bundler-cache: true + - name: Doc Build + run: rake build_multi