Skip to content

Merge pull request #27 from cedarcode/sr--0.12.1-release #67

Merge pull request #27 from cedarcode/sr--0.12.1-release

Merge pull request #27 from cedarcode/sr--0.12.1-release #67

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# 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
name: build
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-20.04
- windows-latest
- macos-12
ruby:
- '3.2'
- '3.1'
- '3.0'
- '2.7'
- '2.6'
- '2.5'
- '2.4'
gemfile:
- openssl_2_2
- openssl_2_1
- openssl_3_0
- openssl_3_1
exclude:
- ruby: '2.4'
gemfile: openssl_3_0
- ruby: '2.5'
gemfile: openssl_3_0
- ruby: '2.4'
gemfile: openssl_3_1
- ruby: '2.5'
gemfile: openssl_3_1
- ruby: '3.1'
gemfile: openssl_2_2
os: macos-12
- ruby: '3.1'
gemfile: openssl_2_1
os: macos-12
- ruby: '3.2'
gemfile: openssl_2_2
os: macos-12
- ruby: '3.2'
gemfile: openssl_2_1
os: macos-12
- ruby: '3.2'
gemfile: openssl_2_2
os: windows-latest
- ruby: '3.2'
gemfile: openssl_2_1
os: windows-latest
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- run: rm Gemfile.lock
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: bundle exec rake