diff options
author | MSP-Greg <MSP-Greg@users.noreply.github.com> | 2019-10-24 20:28:17 -0500 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-10-27 09:42:43 +1300 |
commit | 786e7293bcb781fba235d5f669f24592832b1387 (patch) | |
tree | bf1fedbb8efa41bd177f793d31a4dc1e416e6328 /.github | |
parent | 7676decd55ee0b27fe9275984c305a6721c3ce3a (diff) | |
download | ruby-openssl-786e7293bcb781fba235d5f669f24592832b1387.tar.gz |
Add GitHub Actions- Ubuntu, macOS, Windows
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/workflow.yml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml new file mode 100644 index 00000000..a9a0440d --- /dev/null +++ b/.github/workflows/workflow.yml @@ -0,0 +1,58 @@ +name: OpenSSL + +on: + push: + branches: + - '*' + pull_request: + branches: + - '*' + +jobs: + build: + name: >- + OS: ${{ matrix.os }} Ruby: ${{ matrix.ruby }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ 'ubuntu-16.04', 'ubuntu-18.04', 'macos', 'windows-latest' ] + ruby: [ '2.3.x', '2.4.x', '2.5.x', '2.6.x' ] + exclude: + - os: ubuntu-16.04 + ruby: 2.4.x + - os: ubuntu-16.04 + ruby: 2.5.x + - os: ubuntu-16.04 + ruby: 2.6.x + - os: ubuntu-18.04 + ruby: 2.3.x + - os: macos + ruby: 2.3.x + - os: windows-latest + ruby: 2.3.x + steps: + - name: repo checkout + uses: actions/checkout@v1 + with: + fetch-depth: 10 + - name: load ruby + uses: actions/setup-ruby@v1 + with: + ruby-version: ${{ matrix.ruby }} + + - name: windows - update MSYS2, openssl + if: startsWith(matrix.os, 'windows') + uses: MSP-Greg/msys2-action@master + with: + base: update + mingw: openssl + + - name: depends + run: rake install_dependencies + - name: compile + run: rake compile -- --enable-debug + - name: test + run: rake test TESTOPTS="-v --no-show-detail-immediately" OSSL_MDEBUG=1 + env: + CI: true |