aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2021-06-25 20:27:14 +0900
committerKazuki Yamaguchi <k@rhe.jp>2021-06-25 20:27:14 +0900
commit47283d91614ab799dc2347c37885a37f1b91afcb (patch)
tree5858b9d87e9eb4fff7ef9cb2d131d95f4c3c0f2a /.github
parent69786e3a666b79c64e0109fa2282ecd359ad4de5 (diff)
downloadruby-openssl-47283d91614ab799dc2347c37885a37f1b91afcb.tar.gz
use Bundler for dependency management and Rake gem tasks
Back in 2016, we chose not to use Bundler in Ruby/OpenSSL development because Bundler depended on openssl and could not be used for testing openssl itself - "bundle exec rake test" would end up with loading two different versions of openssl at the same time. This has been resolved long time ago. We can now safely use it for development dependency management and for Rake tasks.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 7d9dfb2b..0c2a09a6 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -22,7 +22,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
- name: depends
- run: rake install_dependencies
+ run: bundle install
- name: compile
run: rake compile -- --enable-debug
@@ -50,7 +50,7 @@ jobs:
mingw: _upgrade_ openssl
- name: depends
- run: rake install_dependencies
+ run: bundle install
# pkg-config is disabled because it can pick up the different OpenSSL installation
# SSL_DIR is set as needed by MSP-Greg/setup-ruby-pkgs
@@ -110,7 +110,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
- name: depends
- run: rake install_dependencies
+ run: bundle install
- name: compile
run: rake compile -- --enable-debug --with-openssl-dir=$HOME/.openssl/${{ matrix.openssl }}