Skip to content

Commit

Permalink
Merge pull request #51 from nobu/test-matrix
Browse files Browse the repository at this point in the history
Simplify CI test matrix and update versions
  • Loading branch information
knu authored Jun 12, 2023
2 parents a109cb2 + 74c6027 commit e49831b
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ on:
- cron: '15 9 * * *'

jobs:
ruby-versions:
uses: ruby/actions/.github/workflows/ruby_versions.yml@master
with:
engine: cruby
# versions: ["debug"]
min_version: 2.7

host:
needs: ruby-versions
name: ${{ matrix.os }} ${{ matrix.ruby }}
if: ${{ github.repository == 'ruby/digest' || github.event_name != 'schedule' }}
runs-on: ${{ matrix.os }}
Expand All @@ -17,22 +25,18 @@ jobs:
os:
- ubuntu-22.04
- ubuntu-20.04
- macos-13
- macos-12
- macos-11
- windows-latest
ruby:
- '3.1'
- '3.0'
- 2.7
- debug
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
include:
- { os: ubuntu-20.04, ruby: head, ignore-pkg-error: true }
- { os: windows-latest, ruby: mingw, ignore-pkg-error: true }
- { os: windows-latest, ruby: mswin, ignore-pkg-error: true }
- { os: windows-latest, ruby: ucrt }
- { os: windows-latest, ruby: mswin }
- { os: ubuntu-20.04, ruby: jruby }
- { os: ubuntu-20.04, ruby: jruby-head, ignore-pkg-error: true, ignore-error: true }
- { os: ubuntu-20.04, ruby: jruby-head }
exclude:
- { os: windows-latest, ruby: debug }
- { os: windows-latest, ruby: head }

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit e49831b

Please sign in to comment.