Skip to content

CI againt for Ruby 3.3 #246

CI againt for Ruby 3.3

CI againt for Ruby 3.3 #246

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
schedule:
- cron: "0 0 * * 5" # JST 9:00 (Fri)
jobs:
test_main:
strategy:
fail-fast: false
matrix:
ruby:
- "2.3"
- "2.4"
- "2.5"
- "2.6"
- "2.7"
- "3.0"
- "3.1"
- "3.2"
- "3.3"
rubyopt:
- ""
- "--jit"
- "--yjit"
- "--rjit"
exclude:
# --jit is available since MRI 2.6
- ruby: "2.3"
rubyopt: "--jit"
- ruby: "2.4"
rubyopt: "--jit"
- ruby: "2.5"
rubyopt: "--jit"
# --yjit is available since MRI 3.1
- ruby: "2.3"
rubyopt: "--yjit"
- ruby: "2.4"
rubyopt: "--yjit"
- ruby: "2.5"
rubyopt: "--yjit"
- ruby: "2.6"
rubyopt: "--yjit"
- ruby: "2.7"
rubyopt: "--yjit"
- ruby: "3.0"
rubyopt: "--yjit"
# --rjit is available since MRI 3.3
- ruby: "2.3"
rubyopt: "--rjit"
- ruby: "2.4"
rubyopt: "--rjit"
- ruby: "2.5"
rubyopt: "--rjit"
- ruby: "2.6"
rubyopt: "--rjit"
- ruby: "2.7"
rubyopt: "--rjit"
- ruby: "3.0"
rubyopt: "--rjit"
- ruby: "3.1"
rubyopt: "--rjit"
- ruby: "3.2"
rubyopt: "--rjit"
uses: ./.github/workflows/test_main.yml
with:
ruby: ${{ matrix.ruby }}
rubyopt: ${{ matrix.rubyopt }}
secrets:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
if: ${{ matrix.rubyopt != '--rjit' && env.RUNNER_ARCH == 'X86' }} # RJIT supports only x86-64

Check failure on line 81 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 81, Col: 9): Unrecognized named-value: 'matrix'. Located at position 1 within expression: matrix.rubyopt != '--rjit' && env.RUNNER_ARCH == 'X86'
notify:
needs:
- test_main
runs-on: ubuntu-latest
steps:
- name: Slack Notification (success)
uses: lazy-actions/slatify@master
if: always()
continue-on-error: true
with:
job_name: '*notify*'
type: ${{ job.status }}
icon_emoji: ":octocat:"
url: ${{ secrets.SLACK_WEBHOOK }}
token: ${{ secrets.GITHUB_TOKEN }}