rake-compiler-dock 1.10.0 → 1.11.0.rc1
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 +16 -10
- 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 +20 -1
- data/Dockerfile.jruby +3 -3
- data/Dockerfile.mri.erb +66 -61
- 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 -7
- data/test/test_parallel_docker_build.rb +2 -2
- data/test/test_versions.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +5 -3
- 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: e7b9a2f0d923f15cbc4fe407bf349950e9d17cc3d34ced2d1998f5f326e73355
|
|
4
|
+
data.tar.gz: 46b66db870a95c7f540c0bb05967a00da1e37c55c69ea78ffa21f4ad7b988949
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a44d3babc2a45bc8543321998c5304fb9edf2b32626764b878b29f307ad366d44f41a4ad1ce6076e6b9bd279b67a79c70079d6b663eeda6d9cfaae484e5d04ac
|
|
7
|
+
data.tar.gz: 106e89b7340ec2ca007f8219af91ed24433efabf2f5ad821fc1e442cc6d068e15313497b08dacc10b288014fffef4ff8b557ee939df59ed8b17563cad87a371c
|
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", "2.7"]
|
|
170
|
+
ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
|
|
171
171
|
runs-on: ${{ matrix.os }}
|
|
172
172
|
steps:
|
|
173
173
|
- uses: actions/checkout@v4
|
|
@@ -192,7 +192,7 @@ 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", "2.7"]
|
|
195
|
+
ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
|
|
196
196
|
include:
|
|
197
197
|
# declare rubygems for each ruby version
|
|
198
198
|
- { ruby: "3.0", rubygems: "3.5.23" }
|
|
@@ -235,7 +235,7 @@ jobs:
|
|
|
235
235
|
- x86_64-linux
|
|
236
236
|
- x86_64-linux-gnu
|
|
237
237
|
- x86_64-linux-musl
|
|
238
|
-
ruby: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
|
|
238
|
+
ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
|
|
239
239
|
include:
|
|
240
240
|
# declare rubygems for each ruby version
|
|
241
241
|
- { ruby: "3.0", rubygems: "3.5.23" }
|
|
@@ -282,12 +282,12 @@ jobs:
|
|
|
282
282
|
strategy:
|
|
283
283
|
fail-fast: false
|
|
284
284
|
matrix:
|
|
285
|
-
os: [macos-
|
|
286
|
-
ruby: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
|
|
285
|
+
os: [macos-15-intel, macos-15]
|
|
286
|
+
ruby: ["4.0.0-preview2", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7"]
|
|
287
287
|
include:
|
|
288
|
-
- os: macos-
|
|
288
|
+
- os: macos-15-intel
|
|
289
289
|
platform: x86_64-darwin
|
|
290
|
-
- os: macos-
|
|
290
|
+
- os: macos-15
|
|
291
291
|
platform: arm64-darwin
|
|
292
292
|
- os: ubuntu-latest
|
|
293
293
|
ruby: jruby
|
|
@@ -310,6 +310,9 @@ jobs:
|
|
|
310
310
|
- os: windows-latest
|
|
311
311
|
ruby: "3.4"
|
|
312
312
|
platform: x64-mingw-ucrt
|
|
313
|
+
- os: windows-latest
|
|
314
|
+
ruby: "head" # setup-ruby does not have 4.0 previews yet on windows
|
|
315
|
+
platform: x64-mingw-ucrt
|
|
313
316
|
runs-on: ${{ matrix.os }}
|
|
314
317
|
steps:
|
|
315
318
|
- uses: actions/checkout@v4
|
|
@@ -356,6 +359,9 @@ jobs:
|
|
|
356
359
|
- os: windows-latest
|
|
357
360
|
ruby: "3.4"
|
|
358
361
|
platform: x64-mingw-ucrt
|
|
362
|
+
- os: windows-latest
|
|
363
|
+
ruby: "head" # setup-ruby does not have 4.0 previews yet on windows
|
|
364
|
+
platform: x64-mingw-ucrt
|
|
359
365
|
runs-on: ${{ matrix.os }}
|
|
360
366
|
steps:
|
|
361
367
|
- uses: actions/checkout@v4
|