aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMSP-Greg <Greg.mpls@gmail.com>2022-05-17 19:00:58 -0500
committerMSP-Greg <Greg.mpls@gmail.com>2022-05-17 19:00:58 -0500
commit0fb8d1b43aa510e457c7a2cbdb30eab153c4a5f5 (patch)
treef38c02a663baaff914594f471659eeeca1109bb7 /.github
parent553b328b46d7e9a0dcc771c97a19cffdf06001bb (diff)
downloadruby-openssl-0fb8d1b43aa510e457c7a2cbdb30eab153c4a5f5.tar.gz
[CI] add Ubuntu-22.04 and update mswin, all are OpenSSL 3
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml38
1 files changed, 5 insertions, 33 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d377ed71..f09a6528 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,8 +10,12 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [ ubuntu-latest, macos-latest ]
+ os: [ ubuntu-latest, macos-latest, windows-latest ]
ruby: [ head, "3.1", "3.0", "2.7", "2.6" ]
+ include:
+ - { os: windows-latest, ruby: mswin }
+ - { os: ubuntu-22.04, ruby: head }
+ - { os: ubuntu-22.04, ruby: "3.1" }
steps:
- name: repo checkout
uses: actions/checkout@v3
@@ -30,38 +34,6 @@ jobs:
- name: test
run: rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_MDEBUG=1
- test-windows:
- name: >-
- ${{ matrix.os }} ${{ matrix.ruby }}
- runs-on: ${{ matrix.os }}
- strategy:
- fail-fast: false
- matrix:
- os: [ windows-latest ]
- ruby: [ mswin, mingw, "3.1", "3.0", "2.7", "2.6" ]
- steps:
- - name: repo checkout
- uses: actions/checkout@v3
-
- - name: load ruby, install/update gcc, install openssl
- uses: MSP-Greg/setup-ruby-pkgs@v1
- with:
- ruby-version: ${{ matrix.ruby }}
- mingw: ${{ matrix.ruby != 'mswin' && '_upgrade_ openssl' || '' }}
- vcpkg: ${{ matrix.ruby == 'mswin' && 'openssl' || '' }}
-
- - name: depends
- 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
- # only used with mswin
- - name: compile
- run: rake compile -- --enable-debug --without-pkg-config $env:SSL_DIR
-
- - name: test
- run: rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_MDEBUG=1
-
test-openssls:
name: >-
${{ matrix.openssl }}