Skip to content

Commit 0a77cc7

Browse files
authored
Merge pull request #2101 from ruby/be-windows
`bundle exec` on windows
2 parents 796dffb + bd7e25e commit 0a77cc7

File tree

2 files changed

+21
-13
lines changed

2 files changed

+21
-13
lines changed

.github/workflows/windows.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
uses: ruby/setup-ruby@v1
2121
with:
2222
ruby-version: ${{ matrix.ruby }}
23-
- name: rake-compiler
24-
run: gem install rake-compiler
23+
- name: bundle install
24+
run: |
25+
bundle config set without profilers libs
26+
bundle install
2527
- name: compile
26-
run: rake compile
28+
run: bundle exec rake compile

Gemfile

+16-10
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,28 @@ gem "rubocop-on-rbs" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.1'
1414
gem "json"
1515
gem "json-schema"
1616
gem "goodcheck"
17-
gem "dbm"
1817
gem 'digest'
1918
gem 'tempfile'
2019
gem "rdoc"
21-
gem "bigdecimal"
22-
gem "abbrev"
23-
gem "base64"
24-
gem "mutex_m"
25-
gem "nkf"
2620
gem "fileutils"
2721
gem "raap"
2822

29-
# Performance profiling and benchmarking
30-
gem 'stackprof'
31-
gem 'memory_profiler'
32-
gem 'benchmark-ips'
23+
group :libs do
24+
# Libraries required for stdlib test
25+
gem "abbrev"
26+
gem "base64"
27+
gem "bigdecimal"
28+
gem "dbm"
29+
gem "mutex_m"
30+
gem "nkf"
31+
end
32+
33+
group :profilers do
34+
# Performance profiling and benchmarking
35+
gem 'stackprof'
36+
gem 'memory_profiler'
37+
gem 'benchmark-ips'
38+
end
3339

3440
# Test gems
3541
gem "rbs-amber", path: "test/assets/test-gem"

0 commit comments

Comments
 (0)