Skip to content

Commit ecac479

Browse files
committed
ci: update native gem packaging to add 3.2 and drop 2.6
1 parent 3fd8b0a commit ecac479

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

.github/workflows/gem-install.yml

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
fail-fast: false
5757
matrix:
5858
sys: ["enable", "disable"]
59-
ruby: ["2.6", "2.7", "3.0", "3.1", "head", "truffleruby-head"]
59+
ruby: ["2.7", "3.0", "3.1", "3.2", "head", "truffleruby-head"]
6060
runs-on: ubuntu-latest
6161
steps:
6262
- uses: actions/checkout@v3
@@ -146,7 +146,7 @@ jobs:
146146
plat:
147147
- "aarch64-linux"
148148
- "arm-linux"
149-
# - "arm64-darwin" # omitted until github actions supports it
149+
- "arm64-darwin" # github actions does not support this runtime as of 2022-12, but let's build anyway
150150
- "x64-mingw-ucrt"
151151
- "x64-mingw32"
152152
- "x86-linux"
@@ -159,9 +159,11 @@ jobs:
159159
with:
160160
path: ports/archives
161161
key: ports-archives-tarball-${{hashFiles('ext/sqlite3/extconf.rb','dependencies.yml')}}
162-
- run: |
163-
docker run --rm -v "$(pwd):/sqlite3" -w /sqlite3 \
164-
larskanis/rake-compiler-dock-mri-${{matrix.plat}}:1.2.1 \
162+
- env:
163+
# DOCKER_IMAGE: "larskanis/rake-compiler-dock-mri-${{matrix.plat}}:1.2.1"
164+
DOCKER_IMAGE: "ghcr.io/rake-compiler/rake-compiler-dock-snapshot:${{matrix.plat}}"
165+
run: |
166+
docker run --rm -v "$(pwd):/sqlite3" -w /sqlite3 ${DOCKER_IMAGE} \
165167
./bin/test-gem-build gems ${{matrix.plat}}
166168
- uses: actions/upload-artifact@v3
167169
with:
@@ -174,7 +176,7 @@ jobs:
174176
strategy:
175177
fail-fast: false
176178
matrix:
177-
ruby: ["2.6", "2.7", "3.0", "3.1"]
179+
ruby: ["2.7", "3.0", "3.1", "3.2"]
178180
runs-on: ubuntu-latest
179181
steps:
180182
- uses: actions/checkout@v3
@@ -194,7 +196,7 @@ jobs:
194196
strategy:
195197
fail-fast: false
196198
matrix:
197-
ruby: ["2.6", "2.7", "3.0", "3.1"]
199+
ruby: ["2.7", "3.0", "3.1", "3.2"]
198200
runs-on: ubuntu-latest
199201
steps:
200202
- uses: actions/checkout@v3
@@ -218,7 +220,7 @@ jobs:
218220
strategy:
219221
fail-fast: false
220222
matrix:
221-
ruby: ["3.1"]
223+
ruby: ["3.1", "3.2"]
222224
runs-on: windows-2022
223225
steps:
224226
- uses: actions/checkout@v3
@@ -239,7 +241,7 @@ jobs:
239241
strategy:
240242
fail-fast: false
241243
matrix:
242-
ruby: ["2.6", "2.7", "3.0"]
244+
ruby: ["2.7", "3.0"]
243245
runs-on: windows-2019
244246
steps:
245247
- uses: actions/checkout@v3
@@ -260,7 +262,7 @@ jobs:
260262
strategy:
261263
fail-fast: false
262264
matrix:
263-
ruby: ["2.6", "2.7", "3.0", "3.1"]
265+
ruby: ["2.7", "3.0", "3.1", "3.2"]
264266
runs-on: ubuntu-latest
265267
steps:
266268
- uses: actions/checkout@v3
@@ -280,7 +282,7 @@ jobs:
280282
strategy:
281283
fail-fast: false
282284
matrix:
283-
ruby: ["2.6", "2.7", "3.0", "3.1"]
285+
ruby: ["2.7", "3.0", "3.1", "3.2"]
284286
runs-on: macos-latest
285287
steps:
286288
- uses: actions/checkout@v3
@@ -298,7 +300,7 @@ jobs:
298300
strategy:
299301
fail-fast: false
300302
matrix:
301-
ruby: ["2.6", "2.7", "3.0", "3.1"]
303+
ruby: ["2.7", "3.0", "3.1", "3.2"]
302304
runs-on: ubuntu-latest
303305
steps:
304306
- uses: actions/checkout@v3
@@ -316,7 +318,7 @@ jobs:
316318
strategy:
317319
fail-fast: false
318320
matrix:
319-
ruby: ["2.6", "2.7", "3.0", "3.1"]
321+
ruby: ["2.7", "3.0", "3.1", "3.2"]
320322
runs-on: ubuntu-latest
321323
container:
322324
image: ruby:${{matrix.ruby}}-alpine

0 commit comments

Comments
 (0)