Skip to content

Commit a94ae52

Browse files
committed
Add Actions macOS & Ubuntu
1 parent ccb34b9 commit a94ae52

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

.github/workflows/ruby.yml

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,50 @@ name: CI
33
on: [push]
44

55
jobs:
6+
main:
7+
name: >-
8+
${{ matrix.os }} ${{ matrix.ruby }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os: [ ubuntu, macos ]
13+
ruby: [ ruby-head, 2.7, 2.5, 2.2 ]
14+
runs-on: ${{ matrix.os }}-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Ruby Install
20+
uses: ./
21+
with:
22+
ruby-version: ${{ matrix.ruby }}
23+
apt-get: ragel
24+
brew: ragel
25+
26+
- name: Info
27+
run: |
28+
ruby -v
29+
echo ''
30+
gcc --version
31+
echo ''
32+
openssl version
33+
echo ''
34+
ragel --version
35+
echo ''
36+
bundler version
37+
echo ''
38+
gem --version
39+
640
win32:
741
name: >-
842
${{ matrix.os }} ${{ matrix.ruby }}
943
strategy:
1044
fail-fast: false
1145
matrix:
12-
os: [ windows-latest ]
46+
os: [ windows ]
1347
# ruby: [ ruby-head, mingw, mswin, 2.4, 2.2 ]
1448
ruby: [ mswin, mingw, 2.5, 2.4, 2.3, 2.2 ]
15-
runs-on: ${{ matrix.os }}
49+
runs-on: ${{ matrix.os }}-latest
1650
steps:
1751
- name: Checkout
1852
uses: actions/checkout@v2

0 commit comments

Comments
 (0)