aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuki Yamaguchi <k@rhe.jp>2024-05-10 02:34:33 +0900
committerGitHub <noreply@github.com>2024-05-10 02:34:33 +0900
commit818aa9fcbb4b041f08b1fa6092dde4729a46214e (patch)
tree007353613aa5400f53cb4d9db1ee705f7a5975bb
parentb73df970fd4fec36ff2be7c4eeee8996c9e36316 (diff)
parente774b236783edfbb75f1ea89da7b9d59768545d7 (diff)
downloadruby-openssl-818aa9fcbb4b041f08b1fa6092dde4729a46214e.tar.gz
Merge pull request #758 from MSP-Greg/00-ci-windows
[CI] test.yml - use `bundle exec`, use setup-ruby bundler-cache, fixes Windows issue
-rw-r--r--.github/workflows/test.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2ad0f455..ca12474b 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -20,8 +20,6 @@ jobs:
os: [ ubuntu-22.04, ubuntu-20.04, macos-latest, windows-latest ]
ruby: ${{ fromJson(needs.ruby-versions.outputs.versions) }}
exclude:
- # uses non-standard MSYS2 OpenSSL 3 package
- - { os: windows-latest, ruby: head }
- { os: windows-latest, ruby: truffleruby }
- { os: windows-latest, ruby: truffleruby-head }
- { os: macos-latest, ruby: truffleruby }
@@ -38,9 +36,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
-
- - name: depends
- run: bundle install
+ bundler-cache: true # `bundle install` and cache
# Enable the verbose option in mkmf.rb to print the compiling commands.
- name: enable mkmf verbose
@@ -52,10 +48,10 @@ jobs:
if: ${{ !matrix.skip-warnings }}
- name: compile
- run: rake compile
+ run: bundle exec rake compile
- name: test
- run: rake test TESTOPTS="-v --no-show-detail-immediately"
+ run: bundle exec rake test TESTOPTS="-v --no-show-detail-immediately"
timeout-minutes: 5
test-openssls: