From 55885c924cbccb45bf8f139ca3b89805d52aacdc Mon Sep 17 00:00:00 2001 From: MSP-Greg Date: Sat, 12 Sep 2020 14:25:48 -0500 Subject: [PATCH] Actions - add 'no ssl' workflow, puma-no-ssl.yml --- .github/workflows/puma-no-ssl.yml | 51 +++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/puma-no-ssl.yml diff --git a/.github/workflows/puma-no-ssl.yml b/.github/workflows/puma-no-ssl.yml new file mode 100644 index 00000000..339da67d --- /dev/null +++ b/.github/workflows/puma-no-ssl.yml @@ -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