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
50 changes: 50 additions & 0 deletions ruby3.2-benchmark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package:
name: ruby3.2-benchmark
version: 0.4.0
epoch: 0
description: "A performance benchmarking library for Ruby."
copyright:
- license: BSD-2-Clause OR Ruby

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- ruby-3.2
- ruby-3.2-dev

pipeline:
- uses: git-checkout
with:
repository: https://github.com/ruby/benchmark
tag: v${{package.version}}
expected-commit: a5d77ceae06d69a8b1b06d45760c9590a466707d

- uses: ruby/build
with:
gem: ${{vars.gem}}

- uses: ruby/install
with:
gem: ${{vars.gem}}
version: ${{package.version}}

- uses: ruby/clean

vars:
gem: benchmark

test:
pipeline:
- runs: ruby -e "require 'benchmark'"
- runs: |
ruby -e 'require "benchmark"; Benchmark.measure { 1 + 1 }; puts "OK"'

update:
enabled: true
github:
identifier: ruby/benchmark
strip-prefix: v
50 changes: 50 additions & 0 deletions ruby3.2-uri.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package:
name: ruby3.2-uri
version: 1.0.1
epoch: 0
description: "URI is a module providing classes to handle Uniform Resource Identifiers"
copyright:
- license: BSD-2-Clause OR Ruby

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- ruby-3.2
- ruby-3.2-dev

pipeline:
- uses: git-checkout
with:
repository: https://github.com/ruby/uri
tag: v${{package.version}}
expected-commit: 3011eb6f6e53c7870f91404d4a789cb854c893ad

- uses: ruby/build
with:
gem: ${{vars.gem}}

- uses: ruby/install
with:
gem: ${{vars.gem}}
version: ${{package.version}}

- uses: ruby/clean

vars:
gem: uri

test:
pipeline:
- runs: ruby -e "require 'uri'"
- runs: |
ruby -e 'require "uri"; uri = URI("https://wolfi.dev"); raise "Failed to parse URI" unless uri.host == "wolfi.dev" && uri.scheme == "https"'

update:
enabled: true
github:
identifier: ruby/uri
strip-prefix: v
50 changes: 50 additions & 0 deletions ruby3.3-benchmark.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package:
name: ruby3.3-benchmark
version: 0.4.0
epoch: 0
description: "A performance benchmarking library for Ruby"
copyright:
- license: BSD-2-Clause OR Ruby

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- ruby-3.3
- ruby-3.3-dev

pipeline:
- uses: git-checkout
with:
repository: https://github.com/ruby/benchmark
tag: v${{package.version}}
expected-commit: a5d77ceae06d69a8b1b06d45760c9590a466707d

- uses: ruby/build
with:
gem: ${{vars.gem}}

- uses: ruby/install
with:
gem: ${{vars.gem}}
version: ${{package.version}}

- uses: ruby/clean

vars:
gem: benchmark

test:
pipeline:
- runs: ruby -e "require 'benchmark'"
- runs: |
ruby -e 'require "benchmark"; Benchmark.measure { 1 + 1 }; puts "OK"'

update:
enabled: true
github:
identifier: ruby/benchmark
strip-prefix: v
50 changes: 50 additions & 0 deletions ruby3.3-uri.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
package:
name: ruby3.3-uri
version: 1.0.1
epoch: 0
description: "URI is a module providing classes to handle Uniform Resource Identifiers"
copyright:
- license: BSD-2-Clause OR Ruby

environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- git
- ruby-3.3
- ruby-3.3-dev

pipeline:
- uses: git-checkout
with:
repository: https://github.com/ruby/uri
tag: v${{package.version}}
expected-commit: 3011eb6f6e53c7870f91404d4a789cb854c893ad

- uses: ruby/build
with:
gem: ${{vars.gem}}

- uses: ruby/install
with:
gem: ${{vars.gem}}
version: ${{package.version}}

- uses: ruby/clean

vars:
gem: uri

test:
pipeline:
- runs: ruby -e "require 'uri'"
- runs: |
ruby -e 'require "uri"; uri = URI("https://wolfi.dev"); raise "Failed to parse URI" unless uri.host == "wolfi.dev" && uri.scheme == "https"'

update:
enabled: true
github:
identifier: ruby/uri
strip-prefix: v