Skip to content

Commit b1ff5a7

Browse files
committed
Merge branch 'master' of https://github.com/ruby/debug
2 parents 9bb5048 + ab937ac commit b1ff5a7

34 files changed

Lines changed: 591 additions & 245 deletions

.github/workflows/protocol.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7-
81
name: Protocol
92

103
on:
@@ -21,17 +14,15 @@ jobs:
2114
strategy:
2215
fail-fast: false
2316
matrix:
24-
ruby-version: ['2.6', '2.7', '3.0', '3.1', 'head', 'debug']
17+
ruby-version: ["2.7", "3.0", "3.1", "3.2", "3.3", "head", "debug"]
2518

2619
steps:
27-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2821
- name: Set up Ruby
29-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
30-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
3122
uses: ruby/setup-ruby@v1
3223
with:
3324
ruby-version: ${{ matrix.ruby-version }}
34-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25+
bundler-cache: true
3526
- name: Run tests
3627
run: |
3728
bundle exec rake clobber

.github/workflows/ruby-macos.yaml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7-
81
name: Ruby(macOS)
92

103
on:
@@ -21,17 +14,15 @@ jobs:
2114
strategy:
2215
fail-fast: false
2316
matrix:
24-
ruby-version: ['3.2', 'head']
17+
ruby-version: ["3.2", "3.3", "head"]
2518

2619
steps:
27-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2821
- name: Set up Ruby
29-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
30-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
3122
uses: ruby/setup-ruby@v1
3223
with:
3324
ruby-version: ${{ matrix.ruby-version }}
34-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25+
bundler-cache: true
3526
- name: Run tests
3627
run: |
3728
bundle exec rake clobber

.github/workflows/ruby.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7-
81
name: Ruby
92

103
on:
@@ -21,17 +14,15 @@ jobs:
2114
strategy:
2215
fail-fast: false
2316
matrix:
24-
ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2', 'head', 'debug']
17+
ruby-version: ["2.7", "3.0", "3.1", "3.2", "3.3", "head", "debug"]
2518

2619
steps:
27-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2821
- name: Set up Ruby
29-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
30-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
3122
uses: ruby/setup-ruby@v1
3223
with:
3324
ruby-version: ${{ matrix.ruby-version }}
34-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25+
bundler-cache: true
3526
- name: Run tests
3627
run: |
3728
bundle exec rake clobber

.github/workflows/test_test.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
# This workflow uses actions that are not certified by GitHub.
2-
# They are provided by a third-party and are governed by
3-
# separate terms of service, privacy policy, and support
4-
# documentation.
5-
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
6-
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
7-
81
name: TestTestFramework
92

103
on:
@@ -21,17 +14,15 @@ jobs:
2114
strategy:
2215
fail-fast: false
2316
matrix:
24-
ruby-version: ['3.0', '3.1', '3.2', 'head', 'debug']
17+
ruby-version: ["3.0", "3.1", "3.2", "3.3", "head", "debug"]
2518

2619
steps:
27-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2821
- name: Set up Ruby
29-
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
30-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
3122
uses: ruby/setup-ruby@v1
3223
with:
3324
ruby-version: ${{ matrix.ruby-version }}
34-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
25+
bundler-cache: true
3526
- name: Run tests
3627
run: |
3728
bundle exec rake clobber

.github/workflows/truffleruby.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: TruffleRuby
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
truffleruby:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 30
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: truffleruby-head
19+
bundler-cache: true
20+
- name: Test installing the gem on TruffleRuby
21+
run: |
22+
bundle exec rake compile
23+
bundle exec rake build
24+
gem install pkg/debug-*.gem

0 commit comments

Comments
 (0)