1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Actions - add 'no ssl' workflow, puma-no-ssl.yml

This commit is contained in:
MSP-Greg 2020-09-12 14:25:48 -05:00
parent f291c63825
commit 55885c924c
No known key found for this signature in database
GPG key ID: D688DA4A77D8FA18

51
.github/workflows/puma-no-ssl.yml vendored Normal file
View file

@ -0,0 +1,51 @@
name: No SSL
on: [push, pull_request]
jobs:
build:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}
env:
CI: true
TESTOPTS: -v
DISABLE_SSL: no_ssl
runs-on: ${{ matrix.os }}
if: |
!( contains(github.event.pull_request.title, '[ci skip]')
|| contains(github.event.pull_request.title, '[skip ci]')
|| contains(github.event.head_commit.message, '[ci skip]')
|| contains(github.event.head_commit.message, '[skip ci]'))
strategy:
fail-fast: false
matrix:
include:
- { os: ubuntu-20.04, ruby: 2.7 }
- { os: ubuntu-20.04, ruby: jruby }
- { os: windows-2019, ruby: 2.7 }
steps:
- name: repo checkout
uses: actions/checkout@v2
- name: load ruby, ragel
uses: MSP-Greg/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
apt-get: ragel
brew: ragel
mingw: _upgrade_ openssl ragel
# won't run on Ruby 2.2, see puma.yml
- name: bundle install
shell: pwsh
run: bundle install --jobs 4 --retry 3
- name: compile
run: bundle exec rake compile
- name: test
id: test
timeout-minutes: 10
run: bundle exec rake test:all