diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2020-05-17 22:20:47 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2021-12-20 19:07:59 +0900 |
commit | 4403c3cf3ce7fbac7573d3b8e6c0d3ecd0aaa969 (patch) | |
tree | 77acd06a552a4df1f6f5ac05aec7661534655453 | |
parent | fd4dd6d8f373a6a573b79557365a0079b7781da8 (diff) | |
download | ruby-openssl-4403c3cf3ce7fbac7573d3b8e6c0d3ecd0aaa969.tar.gz |
[TESTING] .github/workflows: add OpenSSL 3.0.0 and master
-rw-r--r-- | .github/workflows/test.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4c50012a..3ad2201a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -119,3 +119,40 @@ jobs: - name: test run: rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_MDEBUG=1 + + test-openssl-master: + name: OpenSSL master + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ ubuntu-latest ] + ruby: [ 2.7 ] + steps: + - name: repo checkout + uses: actions/checkout@v2 + + - name: prepare openssl + run: | + mkdir -p tmp/build-openssl && cd tmp/build-openssl + git clone https://github.com/openssl/openssl.git --depth=1 + cd openssl + ./Configure --prefix=$HOME/.openssl/master --libdir=lib \ + linux-x86_64 + make depend + make -j4 + make install_sw + + - name: load ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + + - name: depends + run: bundle install + + - name: compile + run: rake compile -- --enable-debug --with-openssl-dir=$HOME/.openssl/master + + - name: test + run: rake test TESTOPTS="-v --no-show-detail-immediately" |