Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 1 addition & 16 deletions .github/workflows/build-gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,7 @@ concurrency:

jobs:
ci-data:
runs-on: ubuntu-latest
outputs:
result: ${{ steps.fetch.outputs.result }}
steps:
- id: fetch
uses: oxidize-rb/actions/fetch-ci-data@1.4.3
with:
supported-ruby-platforms: |
# Excluding:
# `arm-linux` and `arm-linux-musl`: Cranelift doesn't support 32-bit architectures
# `x64-mingw32`: `x64-mingw-ucrt` should be used for Ruby 3.1+ (https://github.com/rake-compiler/rake-compiler-dock?tab=readme-ov-file#windows)
# 3.0 is deprecated as stable ruby version according to:
# https://github.com/oxidize-rb/actions/blob/main/fetch-ci-data/evaluate.rb#L54
exclude: [arm-linux, arm-linux-musl, x64-mingw32]
stable-ruby-versions: |
exclude: [head]
uses: ./.github/workflows/native-gem-matrix.yml

native:
name: Build native gems
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/native-gem-matrix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Native gem matrix

on:
workflow_call:
outputs:
result:
description: Supported Ruby platforms and stable Ruby versions
value: ${{ jobs.resolve.outputs.result }}

jobs:
resolve:
runs-on: ubuntu-latest
outputs:
result: ${{ steps.fetch.outputs.result }}
steps:
- id: fetch
uses: oxidize-rb/actions/fetch-ci-data@1.4.3
with:
supported-ruby-platforms: |
# Excluding:
# `arm-linux` and `arm-linux-musl`: Cranelift doesn't support 32-bit architectures
# `x64-mingw32`: `x64-mingw-ucrt` should be used for Ruby 3.1+ (https://github.com/rake-compiler/rake-compiler-dock?tab=readme-ov-file#windows)
# 3.0 is deprecated as stable ruby version according to:
# https://github.com/oxidize-rb/actions/blob/main/fetch-ci-data/evaluate.rb#L54
exclude: [arm-linux, arm-linux-musl, x64-mingw32]
stable-ruby-versions: |
exclude: [head]
17 changes: 1 addition & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,7 @@ concurrency:

jobs:
ci-data:
runs-on: ubuntu-latest
outputs:
result: ${{ steps.fetch.outputs.result }}
steps:
- id: fetch
uses: oxidize-rb/actions/fetch-ci-data@1.4.3
with:
supported-ruby-platforms: |
# Excluding:
# `arm-linux`: Cranelift doesn't support 32-bit architectures
# `x64-mingw32`: `x64-mingw-ucrt` should be used for Ruby 3.1+ (https://github.com/rake-compiler/rake-compiler-dock?tab=readme-ov-file#windows)
# 3.0 is deprecated as stable ruby version according to:
# https://github.com/oxidize-rb/actions/blob/main/fetch-ci-data/evaluate.rb#L54
exclude: [arm-linux, x64-mingw32]
stable-ruby-versions: |
exclude: [head]
uses: ./.github/workflows/native-gem-matrix.yml

build:
name: Build native gems
Expand Down
Loading