Skip to content

test

test #59

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
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- macos-latest
- macos-12
- macos-13
- macos-14
ruby:
- '3.2'
- '3.1'
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
env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
steps:
- uses: actions/checkout@v4
- run: rm Gemfile.lock
# - run: brew uninstall --ignore-dependencies openssl@3
- run: brew list | grep openssl
- run: openssl version
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
- run: bundle exec rake