Skip to content

Commit 8cf2986

Browse files
committed
ci: simplify
1 parent 67706fd commit 8cf2986

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,21 @@ jobs:
2525
- ubuntu-22.04
2626
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
2727

28+
env:
29+
BUNDLE_WITHOUT: "python"
30+
2831
steps:
2932
- uses: actions/checkout@v4
3033

34+
- run: npm install playwright@latest
35+
- run: ./node_modules/.bin/playwright install
36+
37+
- run: sudo apt install build-essential libsqlite3-dev
38+
3139
- name: Set up Ruby
3240
uses: ruby/setup-ruby@v1
3341
with:
42+
bundler-cache: true
3443
ruby-version: ${{ matrix.ruby }}
3544

3645
- uses: actions/cache@v4
@@ -39,15 +48,8 @@ jobs:
3948
key: ${{ runner.os }}-${{ hashFiles('charty.gemspec') }}
4049
restore-keys: ${{ runner.os }}-
4150

42-
- run: sudo apt install build-essential libsqlite3-dev
43-
44-
- run: npm install playwright@latest
45-
- run: ./node_modules/.bin/playwright install
46-
47-
- run: bundle install --jobs 4 --retry 3 --without "nmatrix python"
48-
4951
- run: bundle exec rake
5052

51-
- run: rake build
53+
- run: bundle exec rake build
5254

5355
- run: gem install --user pkg/*.gem

.github/workflows/pycall.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- x64
3232

3333
env:
34-
BUNDLE_WITHOUT: "nmatrix numo"
34+
BUNDLE_WITHOUT: "numo"
3535
PYTHON: python
3636

3737
steps:

Gemfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ group :cruby do
3131
gem "enumerable-statistics"
3232
end
3333

34-
group :nmatrix do
35-
gem "nmatrix"
36-
end
37-
3834
group :numo do
3935
gem "numo-narray"
4036
end

0 commit comments

Comments
 (0)