Skip to content

Commit 9532693

Browse files
committed
ci: add previous OS version dimensions
1 parent cafb20b commit 9532693

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ruby.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,16 @@ on:
1515

1616
jobs:
1717
test:
18-
1918
runs-on: ${{ matrix.os }}
2019
strategy:
20+
fail-fast: false
21+
2122
matrix:
22-
os: [ubuntu-latest, macos-latest]
23+
os: [ubuntu-latest, macos-latest, ubuntu-18.04, macos-10.15]
2324
ruby-version: ['2.6', '2.7', '3.0']
2425

2526
steps:
2627
- uses: actions/checkout@v2
27-
- name: Brew automake
28-
run: brew install automake
29-
if: matrix.os == 'macos-latest'
3028
- name: Set up Ruby
3129
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
3230
# change this to (see https://github.com/ruby/setup-ruby#versioning):
@@ -35,6 +33,9 @@ jobs:
3533
with:
3634
ruby-version: ${{ matrix.ruby-version }}
3735
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
36+
- name: Brew automake
37+
run: brew install automake
38+
if: startsWith(matrix.os, 'macOS')
3839
- name: Build secp256k1
3940
run: bundle exec rake build_libsecp256k1
4041
- name: Run tests

0 commit comments

Comments
 (0)