rake-compiler-dock 1.10.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/.github/workflows/ci.yml +23 -20
- data/.github/workflows/publish-images.yml +759 -42
- data/.github/workflows/publish-images.yml.erb +121 -0
- data/.github/workflows/release-images.yml +823 -50
- data/CHANGELOG.md +32 -1
- data/Dockerfile.jruby +3 -3
- data/Dockerfile.mri.erb +74 -64
- data/Rakefile +91 -32
- data/build/gem_helper.rb +1 -1
- data/build/parallel_docker_build.rb +55 -18
- data/build/patches/{rake-compiler-1.2.9 → rake-compiler-1.3.1}/0004-Enable-build-of-static-libruby.patch +1 -1
- data/build/patches/{rake-compiler-1.2.9 → rake-compiler-1.3.1}/0005-build-miniruby-first.patch +2 -3
- data/build/patches/rake-compiler-1.3.1/0006-ruby-4-rubyspec-capiext.patch +16 -0
- data/lib/rake_compiler_dock/version.rb +2 -2
- data/lib/rake_compiler_dock.rb +8 -8
- data/test/rcd_test/Gemfile +2 -2
- data/test/rcd_test/Rakefile +2 -2
- data/test/test_parallel_docker_build.rb +2 -2
- data/test/test_versions.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +6 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b460cc3cd1ba5ef3c6410749a04b6da2de3fb4299e24d8b66114458c254f8fb5
|
|
4
|
+
data.tar.gz: 2d756b273405f0f363b695af76c94f4a4603d04a2c44ef407a4fa987b3d7051a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 425ffc11aeb0d6f3394008739a2dc8dfc5f78681b3351716fa1305d1e6b6fd20b6bd1fa6bb90191ed54d6e70bab1f75695a6633a22d7a45766f63ec95869e91a
|
|
7
|
+
data.tar.gz: 12e5b8ad94379ea7274d36f3b58d93bf3e5afc392e22c5e73b2281ec61b8b3d3852e0893ac6ca9233b9bc6a9b7d7a5452303efae64108b26c87035ea370ec736
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -97,13 +97,13 @@ jobs:
|
|
|
97
97
|
uses: actions/cache@v4
|
|
98
98
|
with:
|
|
99
99
|
path: tmp/build-cache-${{ runner.arch }}
|
|
100
|
-
key: ${{ runner.os }}-on-${{ runner.arch }}-${{ matrix.platform }}-
|
|
101
|
-
restore-keys: ${{ runner.os }}-on-${{ runner.arch }}-${{ matrix.platform }}-
|
|
100
|
+
key: ${{ runner.os }}-on-${{ runner.arch }}-${{ matrix.platform }}-buildxz-${{ github.sha }}
|
|
101
|
+
restore-keys: ${{ runner.os }}-on-${{ runner.arch }}-${{ matrix.platform }}-buildxz
|
|
102
102
|
enableCrossOsArchive: true
|
|
103
103
|
- name: Change docker to a cache-able driver
|
|
104
104
|
run: |
|
|
105
105
|
docker buildx create --driver docker-container --use
|
|
106
|
-
bundle exec rake build:${{ matrix.platform }} RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,dest=tmp/build-cache-new"
|
|
106
|
+
bundle exec rake build:${{ matrix.platform }} RCD_DOCKER_BUILD="docker buildx build --cache-from=type=local,compression=zstd,src=tmp/build-cache-${{ runner.arch }} --cache-to=type=local,compression=zstd,dest=tmp/build-cache-new"
|
|
107
107
|
- name: Show docker images
|
|
108
108
|
run: docker images
|
|
109
109
|
- name: Update and prune docker buildx layer cache
|
|
@@ -167,7 +167,7 @@ jobs:
|
|
|
167
167
|
fail-fast: false
|
|
168
168
|
matrix:
|
|
169
169
|
os: [ubuntu-latest]
|
|
170
|
-
ruby: ["3.4", "3.3", "3.2", "3.1", "3.0"
|
|
170
|
+
ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
|
|
171
171
|
runs-on: ${{ matrix.os }}
|
|
172
172
|
steps:
|
|
173
173
|
- uses: actions/checkout@v4
|
|
@@ -192,11 +192,10 @@ jobs:
|
|
|
192
192
|
fail-fast: false
|
|
193
193
|
matrix:
|
|
194
194
|
platform: [x86_64-linux, x86_64-linux-gnu]
|
|
195
|
-
ruby: ["3.4", "3.3", "3.2", "3.1", "3.0"
|
|
195
|
+
ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
|
|
196
196
|
include:
|
|
197
197
|
# declare rubygems for each ruby version
|
|
198
198
|
- { ruby: "3.0", rubygems: "3.5.23" }
|
|
199
|
-
- { ruby: "2.7", rubygems: "3.4.22" }
|
|
200
199
|
runs-on: ubuntu-latest
|
|
201
200
|
steps:
|
|
202
201
|
- uses: actions/checkout@v4
|
|
@@ -235,11 +234,10 @@ jobs:
|
|
|
235
234
|
- x86_64-linux
|
|
236
235
|
- x86_64-linux-gnu
|
|
237
236
|
- x86_64-linux-musl
|
|
238
|
-
ruby: ["3.4", "3.3", "3.2", "3.1", "3.0"
|
|
237
|
+
ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
|
|
239
238
|
include:
|
|
240
239
|
# declare rubygems for each ruby version
|
|
241
240
|
- { ruby: "3.0", rubygems: "3.5.23" }
|
|
242
|
-
- { ruby: "2.7", rubygems: "3.4.22" }
|
|
243
241
|
# declare docker image for each platform
|
|
244
242
|
- { platform: aarch64-linux-musl, runon: "ubuntu-24.04-arm", docker_tag: "-alpine" }
|
|
245
243
|
- { platform: arm-linux-musl, runon: "ubuntu-24.04-arm", docker_tag: "-alpine" }
|
|
@@ -282,19 +280,16 @@ jobs:
|
|
|
282
280
|
strategy:
|
|
283
281
|
fail-fast: false
|
|
284
282
|
matrix:
|
|
285
|
-
os: [macos-
|
|
286
|
-
ruby: ["3.4", "3.3", "3.2", "3.1", "3.0"
|
|
283
|
+
os: [macos-15-intel, macos-15]
|
|
284
|
+
ruby: ["4.0", "3.4", "3.3", "3.2", "3.1", "3.0"]
|
|
287
285
|
include:
|
|
288
|
-
- os: macos-
|
|
286
|
+
- os: macos-15-intel
|
|
289
287
|
platform: x86_64-darwin
|
|
290
|
-
- os: macos-
|
|
288
|
+
- os: macos-15
|
|
291
289
|
platform: arm64-darwin
|
|
292
290
|
- os: ubuntu-latest
|
|
293
291
|
ruby: jruby
|
|
294
292
|
platform: jruby
|
|
295
|
-
- os: windows-latest
|
|
296
|
-
ruby: "2.7"
|
|
297
|
-
platform: x64-mingw32
|
|
298
293
|
- os: windows-latest
|
|
299
294
|
ruby: "3.0"
|
|
300
295
|
platform: x64-mingw32
|
|
@@ -310,6 +305,9 @@ jobs:
|
|
|
310
305
|
- os: windows-latest
|
|
311
306
|
ruby: "3.4"
|
|
312
307
|
platform: x64-mingw-ucrt
|
|
308
|
+
- os: windows-latest
|
|
309
|
+
ruby: "4.0"
|
|
310
|
+
platform: x64-mingw-ucrt
|
|
313
311
|
runs-on: ${{ matrix.os }}
|
|
314
312
|
steps:
|
|
315
313
|
- uses: actions/checkout@v4
|
|
@@ -338,9 +336,6 @@ jobs:
|
|
|
338
336
|
fail-fast: false
|
|
339
337
|
matrix:
|
|
340
338
|
include:
|
|
341
|
-
- os: windows-latest
|
|
342
|
-
ruby: "2.7"
|
|
343
|
-
platform: x64-mingw32
|
|
344
339
|
- os: windows-latest
|
|
345
340
|
ruby: "3.0"
|
|
346
341
|
platform: x64-mingw32
|
|
@@ -356,6 +351,9 @@ jobs:
|
|
|
356
351
|
- os: windows-latest
|
|
357
352
|
ruby: "3.4"
|
|
358
353
|
platform: x64-mingw-ucrt
|
|
354
|
+
- os: windows-latest
|
|
355
|
+
ruby: "4.0"
|
|
356
|
+
platform: x64-mingw-ucrt
|
|
359
357
|
runs-on: ${{ matrix.os }}
|
|
360
358
|
steps:
|
|
361
359
|
- uses: actions/checkout@v4
|
|
@@ -385,9 +383,14 @@ jobs:
|
|
|
385
383
|
matrix:
|
|
386
384
|
include:
|
|
387
385
|
- runon: ubuntu-24.04-arm
|
|
388
|
-
from_image:
|
|
386
|
+
from_image: ghcr.io/dtcooper/raspberrypi-os:latest
|
|
387
|
+
image_platform: linux/arm64
|
|
388
|
+
platform: aarch64-linux
|
|
389
|
+
dockerfile: debian
|
|
390
|
+
- runon: ubuntu-24.04-arm
|
|
391
|
+
from_image: ghcr.io/dtcooper/raspberrypi-os:latest
|
|
389
392
|
image_platform: linux/arm/v7
|
|
390
|
-
platform: arm-linux
|
|
393
|
+
platform: arm-linux
|
|
391
394
|
dockerfile: debian
|
|
392
395
|
- runon: ubuntu-24.04-arm
|
|
393
396
|
from_image: arm64v8/ubuntu
|