Skip to content

Commit 2f11cfe

Browse files
committed
run these tests on all ruby supported ruby versions
1 parent d1be191 commit 2f11cfe

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

.github/workflows/gem-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
include:
1414
- os: windows-latest # x64-mingw-ucrt
1515
- os: ubuntu-latest # x86_64-linux
16-
- os: macos-latest # arm64-darwin (Apple Silicon)
17-
- os: macos-13 # x86_64-darwin (Intel)
16+
- os: macos-14 # arm64-darwin (Apple Silicon)
17+
- os: macos-15-intel # x86_64-darwin (Intel)
1818

1919
runs-on: ${{ matrix.os }}
2020

.github/workflows/test-on-push.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
#ruby: [ '3.2', '3.3', '3.4', '4.0' ]
12-
ruby: ['4.0']
11+
ruby: [ '3.2', '3.3', '3.4', '4.0' ]
1312
runs-on: ubuntu-latest
1413
steps:
1514
- uses: actions/checkout@v4
@@ -37,9 +36,9 @@ jobs:
3736
strategy:
3837
fail-fast: false
3938
matrix:
40-
#ruby: [ '3.2', '3.3', '3.4', '4.0' ]
41-
ruby: ['4.0']
42-
runs-on: macos-latest
39+
os: [macos-14, macos-15-intel]
40+
ruby: ['3.2', '3.3', '3.4', '4.0']
41+
runs-on: ${{ matrix.os }}
4342
steps:
4443
- uses: actions/checkout@v4
4544

@@ -62,7 +61,7 @@ jobs:
6261
- name: Upload packed binary
6362
uses: actions/upload-artifact@v4
6463
with:
65-
name: zlib-macos-${{ matrix.ruby }}
64+
name: zlib-macos-${{ matrix.os }}-${{ matrix.ruby }}
6665
path: zlib_packed
6766
retention-days: 1
6867

@@ -71,14 +70,14 @@ jobs:
7170
strategy:
7271
fail-fast: false
7372
matrix:
74-
#ruby: [ '3.2', '3.3', '3.4', '4.0' ]
75-
ruby: ['4.0']
76-
runs-on: macos-latest
73+
os: [ macos-14, macos-15-intel ]
74+
ruby: [ '3.2', '3.3', '3.4', '4.0' ]
75+
runs-on: ${{ matrix.os }}
7776
steps:
7877
- name: Download packed binary
7978
uses: actions/download-artifact@v4
8079
with:
81-
name: zlib-macos-${{ matrix.ruby }}
80+
name: zlib-macos-${{ matrix.os }}-${{ matrix.ruby }}
8281

8382
- name: Run packed executable
8483
run: |
@@ -90,8 +89,7 @@ jobs:
9089
fail-fast: false
9190
matrix:
9291
os: [ windows-latest ]
93-
#ruby: [ '3.2', '3.3', '3.4', '4.0' ]
94-
ruby: ['4.0']
92+
ruby: [ '3.2', '3.3', '3.4', '4.0' ]
9593
runs-on: ${{ matrix.os }}
9694
steps:
9795
- uses: actions/checkout@v4
@@ -159,8 +157,9 @@ jobs:
159157
strategy:
160158
fail-fast: false
161159
matrix:
162-
ruby: ['4.0']
163-
runs-on: windows-latest
160+
os: [ windows-latest ]
161+
ruby: [ '3.2', '3.3', '3.4', '4.0' ]
162+
runs-on: ${{ matrix.os }}
164163
steps:
165164
- name: Download packed binary
166165
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)