From 4403c3cf3ce7fbac7573d3b8e6c0d3ecd0aaa969 Mon Sep 17 00:00:00 2001 From: Kazuki Yamaguchi Date: Sun, 17 May 2020 22:20:47 +0900 Subject: [TESTING] .github/workflows: add OpenSSL 3.0.0 and master --- .github/workflows/test.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) 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" -- cgit v1.2.3