Skip to content

Commit

Permalink
Add Actions macOS & Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Apr 3, 2020
1 parent ccb34b9 commit a94ae52
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,50 @@ name: CI
on: [push]

jobs:
main:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu, macos ]
ruby: [ ruby-head, 2.7, 2.5, 2.2 ]
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Ruby Install
uses: ./
with:
ruby-version: ${{ matrix.ruby }}
apt-get: ragel
brew: ragel

- name: Info
run: |
ruby -v
echo ''
gcc --version
echo ''
openssl version
echo ''
ragel --version
echo ''
bundler version
echo ''
gem --version
win32:
name: >-
${{ matrix.os }} ${{ matrix.ruby }}
strategy:
fail-fast: false
matrix:
os: [ windows-latest ]
os: [ windows ]
# ruby: [ ruby-head, mingw, mswin, 2.4, 2.2 ]
ruby: [ mswin, mingw, 2.5, 2.4, 2.3, 2.2 ]
runs-on: ${{ matrix.os }}
runs-on: ${{ matrix.os }}-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down

0 comments on commit a94ae52

Please sign in to comment.