-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
08f8d19
commit 1d7e00d
Showing
3 changed files
with
68 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
name: Puma | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: Ruby ${{ matrix.ruby }} and ${{ matrix.os }} | ||
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: macOS install ragel | ||
if: matrix.os == 'macos' | ||
run: | | ||
brew install ragel | ||
- name: repo checkout | ||
uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 10 | ||
- name: load ruby | ||
uses: actions/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
|
||
# Windows only | ||
- name: Add MSYS2 paths | ||
uses: MSP-Greg/msys2-action/add_paths@master | ||
if: matrix.os == 'windows-latest' | ||
- name: Update MSYS2 | ||
uses: MSP-Greg/msys2-action/update_msys2@master | ||
if: matrix.os == 'windows-latest' | ||
- name: Update OpenSSL | ||
uses: MSP-Greg/msys2-action/update_openssl@master | ||
if: matrix.os == 'windows-latest' | ||
|
||
- name: bundle install | ||
run: | | ||
gem update --system --no-document --conservative | ||
bundle install --jobs 4 --retry 3 | ||
- name: compile | ||
run: bundle exec rake compile | ||
- name: test | ||
env: | ||
CI: true | ||
TESTOPTS: -v | ||
run: bundle exec rake |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.