Skip to content

Build ruby: { "arch": "x64", "os": "2022", "versions": "3.5.0-preview1 3.4.7 3.3.10 3.2.9" } #53

Build ruby: { "arch": "x64", "os": "2022", "versions": "3.5.0-preview1 3.4.7 3.3.10 3.2.9" }

Build ruby: { "arch": "x64", "os": "2022", "versions": "3.5.0-preview1 3.4.7 3.3.10 3.2.9" } #53

Workflow file for this run

---
name: Build ruby
run-name: "Build ruby: ${{ toJSON(inputs) }}"
on:
workflow_dispatch:
inputs:
versions:
description: 'Ruby versions'
required: true
type: string
default: '3.4.1 3.3.6 3.2.6 3.1.6'
os:
description: 'Runs on windows-*'
required: true
type: string
default: '2022'
arch:
description: 'Architecture (x64 or x86)'
required: true
type: string
default: 'x64'
jobs:
build:
strategy:
fail-fast: false
matrix:
include:
- windows-os: ${{ inputs.os }}
windows-arch: ${{ inputs.arch }}
runs-on: windows-${{ matrix.windows-os }}
defaults:
run:
shell: pwsh
steps:
- uses: actions/checkout@v4
- name: Cache vcpkg files
uses: actions/cache@v4
with:
path: |
~\AppData\Local\vcpkg\archives
~\AppData\Local\vcpkg\downloads
key: cache-vcpkg
- name: Build dependencies and ruby
env:
RUBY_VERSIONS: ${{ inputs.versions }}
ARCH: ${{ matrix.windows-arch }}
run: '& .\build-ruby.cmd'
- uses: actions/upload-artifact@v4
if: always()
with:
name: ruby-log
path: 'ruby-*\**\*.log'
- uses: actions/upload-artifact@v4
if: always()
with:
name: ruby-bin-${{ matrix.windows-arch }}
path: 'ruby-*.7z'