Skip to content

Test CRuby Gem Build #1

Test CRuby Gem Build

Test CRuby Gem Build #1

name: Test CRuby Gem Build
on: workflow_dispatch
env:
CACHE_KEY_PREFIX: "cruby-v1"
SUPPORTED_RUBY_VERSIONS: "3.1,3.2,3.3"
LATEST_RUBY_VERSION: "3.3"
jobs:
cruby-package:
name: Compile native gem
runs-on: ubuntu-latest
strategy:
matrix:
platform:
- x86_64-linux
- aarch64-linux
- x86_64-darwin
- arm64-darwin
- x64-mingw-ucrt
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ env.LATEST_RUBY_VERSION }}"
- uses: oxidize-rb/actions/cross-gem@main
id: cross-gem
with:
platform: ${{ matrix.platform }}
ruby-versions: "${{ env.SUPPORTED_RUBY_VERSIONS }}"
- uses: oxidize-rb/actions/test-gem-build@main
with:
platform: ${{ matrix.platform }}
ruby-versions: "${{ env.SUPPORTED_RUBY_VERSIONS }}"