diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index ced6c24..25243f4 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -5,6 +5,11 @@ # This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake # For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby +# +# Created: 29th August 2025 +# Updated: 29th August 2025 +# + name: Ruby on: @@ -19,9 +24,12 @@ permissions: jobs: test: - runs-on: ubuntu-latest strategy: matrix: + os: + - ubuntu-latest + - windows-latest + ruby-version: # - head # - '3.4' @@ -30,11 +38,28 @@ jobs: - '3.1' - '3.0' - '2.7' + - '2.6' + - '2.5' + - '2.2' + - '2.0' + + include: + - os: macos-latest + ruby-version: '3.3' + - os: windows-latest + ruby-version: '3.3' + # - os: windows-latest + # ruby-version: mingw + # - os: windows-latest + # ruby-version: ucrt + + runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v4 + - name: Checking out code + uses: actions/checkout@v4 - - name: Set up Ruby + - name: Set up Ruby v${{ matrix.ruby-version }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} diff --git a/README.md b/README.md index 39a0793..b206e8d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause) [![Gem Version](https://badge.fury.io/rb/xqsr3.svg)](https://badge.fury.io/rb/xqsr3) [![Last Commit](https://img.shields.io/github/last-commit/synesissoftware/xqsr3)](https://github.com/synesissoftware/xqsr3/commits/master) +[![Ruby](https://github.com/synesissoftware/xqsr3/actions/workflows/ruby.yml/badge.svg)](https://github.com/synesissoftware/xqsr3/actions/workflows/ruby.yml) e**X**tensions by fine **Q**uantum for **S**tandard **R**uby and **3**rd-party libraries