@@ -30,7 +30,7 @@ permissions:
3030# Each job is split so that they roughly take 30min to run through.
3131jobs :
3232 compile-if :
33- name : ' omnibus condition '
33+ name : ' omnibus compilations, trigger '
3434 runs-on : ubuntu-latest
3535 if : >-
3636 ${{!(false
6262 with_gcc : ' clang-18 -flto=auto'
6363 optflags : ' -O2'
6464 enable_shared : false
65- - name : ' GCC 13 LTO'
66- uses : ' ./.github/actions/compilers'
67- with :
68- tag : gcc-13
69- with_gcc : ' gcc-13 -flto=auto -ffat-lto-objects -Werror=lto-type-mismatch'
70- optflags : ' -O2'
71- enable_shared : false
7265
7366 compile2 :
7467 name : ' omnibus compilations, #2'
8073 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
8174 with : { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
8275 - { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
76+ - name : ' GCC 13 LTO'
77+ uses : ' ./.github/actions/compilers'
78+ with :
79+ tag : gcc-13
80+ with_gcc : ' gcc-13 -flto=auto -ffat-lto-objects -Werror=lto-type-mismatch'
81+ optflags : ' -O2'
82+ enable_shared : false
8383 - { uses: './.github/actions/compilers', name: 'GCC 13', with: { tag: 'gcc-13' } }
8484 - { uses: './.github/actions/compilers', name: 'GCC 12', with: { tag: 'gcc-12' } }
8585 - { uses: './.github/actions/compilers', name: 'GCC 11', with: { tag: 'gcc-11' } }
@@ -106,7 +106,6 @@ jobs:
106106 - { uses: './.github/actions/compilers', name: 'clang 15', with: { tag: 'clang-15' } }
107107 - { uses: './.github/actions/compilers', name: 'clang 14', with: { tag: 'clang-14' } }
108108 - { uses: './.github/actions/compilers', name: 'clang 13', with: { tag: 'clang-13' } }
109- - { uses: './.github/actions/compilers', name: 'clang 12', with: { tag: 'clang-12' } }
110109
111110 compile4 :
112111 name : ' omnibus compilations, #4'
@@ -118,14 +117,15 @@ jobs:
118117 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
119118 with : { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
120119 - { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
120+ - { uses: './.github/actions/compilers', name: 'clang 12', with: { tag: 'clang-12' } }
121121 - { uses: './.github/actions/compilers', name: 'clang 11', with: { tag: 'clang-11' } }
122122 - { uses: './.github/actions/compilers', name: 'clang 10', with: { tag: 'clang-10' } }
123123 # llvm-objcopy<=9 doesn't have --wildcard. It compiles, but leaves Rust symbols in libyjit.o.
124124 - { uses: './.github/actions/compilers', name: 'clang 9', with: { tag: 'clang-9', append_configure: '--disable-yjit' } }
125125 - { uses: './.github/actions/compilers', name: 'clang 8', with: { tag: 'clang-8', append_configure: '--disable-yjit' } }
126126 - { uses: './.github/actions/compilers', name: 'clang 7', with: { tag: 'clang-7', append_configure: '--disable-yjit' } }
127127 - { uses: './.github/actions/compilers', name: 'clang 6', with: { tag: 'clang-6.0', append_configure: '--disable-yjit' } }
128- - { uses: './.github/actions/compilers', name: 'ext/Setup ', with: { static_exts : 'etc json/* */escape ' } }
128+ - { uses: './.github/actions/compilers', name: 'C99 ', with: { CFLAGS : '-std=c99 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes ' } }
129129
130130 compile5 :
131131 name : ' omnibus compilations, #5'
@@ -143,7 +143,6 @@ jobs:
143143 # warning generates a lot of noise from use of ANYARGS in
144144 # rb_define_method() and friends.
145145 # See: https://github.com/llvm/llvm-project/commit/11da1b53d8cd3507959022cd790d5a7ad4573d94
146- - { uses: './.github/actions/compilers', name: 'C99', with: { CFLAGS: '-std=c99 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
147146 - { uses: './.github/actions/compilers', name: 'C11', with: { CFLAGS: '-std=c11 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
148147 - { uses: './.github/actions/compilers', name: 'C17', with: { CFLAGS: '-std=c17 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
149148 - { uses: './.github/actions/compilers', name: 'C23', with: { CFLAGS: '-std=c2x -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
@@ -152,8 +151,6 @@ jobs:
152151 - { uses: './.github/actions/compilers', name: 'C++14', with: { CXXFLAGS: '-std=c++14 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
153152 - { uses: './.github/actions/compilers', name: 'C++17', with: { CXXFLAGS: '-std=c++17 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
154153 - { uses: './.github/actions/compilers', name: 'C++20', with: { CXXFLAGS: '-std=c++20 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
155- - { uses: './.github/actions/compilers', name: 'C++23', with: { CXXFLAGS: '-std=c++23 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
156- - { uses: './.github/actions/compilers', name: 'C++26', with: { CXXFLAGS: '-std=c++26 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
157154
158155 compile6 :
159156 name : ' omnibus compilations, #6'
@@ -165,6 +162,8 @@ jobs:
165162 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
166163 with : { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
167164 - { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
165+ - { uses: './.github/actions/compilers', name: 'C++23', with: { CXXFLAGS: '-std=c++23 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
166+ - { uses: './.github/actions/compilers', name: 'C++26', with: { CXXFLAGS: '-std=c++26 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
168167 - { uses: './.github/actions/compilers', name: '-O0', with: { optflags: '-O0 -march=x86-64 -mtune=generic' } }
169168 # - { uses: './.github/actions/compilers', name: '-O3', with: { optflags: '-O3 -march=x86-64 -mtune=generic', check: true } }
170169 - { uses: './.github/actions/compilers', name: 'gmp', with: { append_configure: '--with-gmp', check: 'ruby/test_bignum.rb', mspecopt: "/github/workspace/src/spec/ruby/core/integer" } }
@@ -210,8 +209,6 @@ jobs:
210209 - { uses: './.github/actions/compilers', name: 'CPDEBUG=-1', with: { cppflags: '-DCPDEBUG=-1' } }
211210 - { uses: './.github/actions/compilers', name: 'ENC_DEBUG', with: { cppflags: '-DENC_DEBUG' } }
212211 - { uses: './.github/actions/compilers', name: 'GC_DEBUG', with: { cppflags: '-DGC_DEBUG' } }
213- - { uses: './.github/actions/compilers', name: 'HASH_DEBUG', with: { cppflags: '-DHASH_DEBUG' } }
214- - { uses: './.github/actions/compilers', name: 'ID_TABLE_DEBUG', with: { cppflags: '-DID_TABLE_DEBUG' } }
215212
216213 compile9 :
217214 name : ' omnibus compilations, #9'
@@ -223,15 +220,14 @@ jobs:
223220 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
224221 with : { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
225222 - { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
223+ - { uses: './.github/actions/compilers', name: 'HASH_DEBUG', with: { cppflags: '-DHASH_DEBUG' } }
224+ - { uses: './.github/actions/compilers', name: 'ID_TABLE_DEBUG', with: { cppflags: '-DID_TABLE_DEBUG' } }
226225 - { uses: './.github/actions/compilers', name: 'RGENGC_DEBUG=-1', with: { cppflags: '-DRGENGC_DEBUG=-1' } }
227226 - { uses: './.github/actions/compilers', name: 'SYMBOL_DEBUG', with: { cppflags: '-DSYMBOL_DEBUG' } }
228227 - { uses: './.github/actions/compilers', name: 'RGENGC_CHECK_MODE', with: { cppflags: '-DRGENGC_CHECK_MODE' } }
229228 - { uses: './.github/actions/compilers', name: 'VM_CHECK_MODE', with: { cppflags: '-DVM_CHECK_MODE' } }
230229 - { uses: './.github/actions/compilers', name: 'USE_EMBED_CI=0', with: { cppflags: '-DUSE_EMBED_CI=0' } }
231230 - { uses: './.github/actions/compilers', name: 'USE_FLONUM=0', with: { cppflags: '-DUSE_FLONUM=0', append_configure: '--disable-yjit' } }
232- - { uses: './.github/actions/compilers', name: 'USE_LAZY_LOAD', with: { cppflags: '-DUSE_LAZY_LOAD' } }
233- - { uses: './.github/actions/compilers', name: 'USE_SYMBOL_GC=0', with: { cppflags: '-DUSE_SYMBOL_GC=0' } }
234- - { uses: './.github/actions/compilers', name: 'USE_THREAD_CACHE=0', with: { cppflags: '-DUSE_THREAD_CACHE=0' } }
235231
236232 compileX :
237233 name : ' omnibus compilations, #10'
@@ -243,14 +239,14 @@ jobs:
243239 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
244240 with : { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
245241 - { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
242+ - { uses: './.github/actions/compilers', name: 'USE_LAZY_LOAD', with: { cppflags: '-DUSE_LAZY_LOAD' } }
243+ - { uses: './.github/actions/compilers', name: 'USE_SYMBOL_GC=0', with: { cppflags: '-DUSE_SYMBOL_GC=0' } }
244+ - { uses: './.github/actions/compilers', name: 'USE_THREAD_CACHE=0', with: { cppflags: '-DUSE_THREAD_CACHE=0' } }
246245 - { uses: './.github/actions/compilers', name: 'USE_RUBY_DEBUG_LOG=1', with: { cppflags: '-DUSE_RUBY_DEBUG_LOG=1' } }
247246 - { uses: './.github/actions/compilers', name: 'USE_DEBUG_COUNTER', with: { cppflags: '-DUSE_DEBUG_COUNTER=1' } }
248247 - { uses: './.github/actions/compilers', name: 'SHARABLE_MIDDLE_SUBSTRING', with: { cppflags: '-DSHARABLE_MIDDLE_SUBSTRING=1' } }
249248 - { uses: './.github/actions/compilers', name: 'DEBUG_FIND_TIME_NUMGUESS', with: { cppflags: '-DDEBUG_FIND_TIME_NUMGUESS' } }
250249 - { uses: './.github/actions/compilers', name: 'DEBUG_INTEGER_PACK', with: { cppflags: '-DDEBUG_INTEGER_PACK' } }
251- - { uses: './.github/actions/compilers', name: 'GC_DEBUG_STRESS_TO_CLASS', with: { cppflags: '-DGC_DEBUG_STRESS_TO_CLASS' } }
252- - { uses: './.github/actions/compilers', name: 'GC_ENABLE_LAZY_SWEEP=0', with: { cppflags: '-DGC_ENABLE_LAZY_SWEEP=0' } }
253- - { uses: './.github/actions/compilers', name: 'GC_PROFILE_DETAIL_MEMORY', with: { cppflags: '-DGC_PROFILE_DETAIL_MEMORY' } }
254250
255251 compileB :
256252 name : ' omnibus compilations, #11'
@@ -262,14 +258,15 @@ jobs:
262258 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
263259 with : { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
264260 - { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
261+ - { uses: './.github/actions/compilers', name: 'GC_DEBUG_STRESS_TO_CLASS', with: { cppflags: '-DGC_DEBUG_STRESS_TO_CLASS' } }
262+ - { uses: './.github/actions/compilers', name: 'GC_ENABLE_LAZY_SWEEP=0', with: { cppflags: '-DGC_ENABLE_LAZY_SWEEP=0' } }
263+ - { uses: './.github/actions/compilers', name: 'GC_PROFILE_DETAIL_MEMORY', with: { cppflags: '-DGC_PROFILE_DETAIL_MEMORY' } }
265264 - { uses: './.github/actions/compilers', name: 'GC_PROFILE_MORE_DETAIL', with: { cppflags: '-DGC_PROFILE_MORE_DETAIL' } }
266265 - { uses: './.github/actions/compilers', name: 'MALLOC_ALLOCATED_SIZE_CHECK', with: { cppflags: '-DMALLOC_ALLOCATED_SIZE_CHECK' } }
267266 - { uses: './.github/actions/compilers', name: 'RGENGC_ESTIMATE_OLDMALLOC', with: { cppflags: '-DRGENGC_ESTIMATE_OLDMALLOC' } }
268267 # - { uses: './.github/actions/compilers', name: 'RGENGC_FORCE_MAJOR_GC', with: { cppflags: '-DRGENGC_FORCE_MAJOR_GC' } }
269268 - { uses: './.github/actions/compilers', name: 'RGENGC_OBJ_INFO', with: { cppflags: '-DRGENGC_OBJ_INFO' } }
270269 - { uses: './.github/actions/compilers', name: 'RGENGC_PROFILE', with: { cppflags: '-DRGENGC_PROFILE' } }
271- - { uses: './.github/actions/compilers', name: 'VM_DEBUG_BP_CHECK', with: { cppflags: '-DVM_DEBUG_BP_CHECK' } }
272- - { uses: './.github/actions/compilers', name: 'VM_DEBUG_VERIFY_METHOD_CACHE', with: { cppflags: '-DVM_DEBUG_VERIFY_METHOD_CACHE' } }
273270
274271 compileC :
275272 name : ' omnibus compilations, #12'
@@ -281,11 +278,14 @@ jobs:
281278 - uses : actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
282279 with : { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
283280 - { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
281+ - { uses: './.github/actions/compilers', name: 'VM_DEBUG_BP_CHECK', with: { cppflags: '-DVM_DEBUG_BP_CHECK' } }
282+ - { uses: './.github/actions/compilers', name: 'VM_DEBUG_VERIFY_METHOD_CACHE', with: { cppflags: '-DVM_DEBUG_VERIFY_METHOD_CACHE' } }
284283 - { uses: './.github/actions/compilers', name: 'enable-yjit', with: { append_configure: '--enable-yjit --disable-rjit' } }
285284 - { uses: './.github/actions/compilers', name: 'enable-rjit', with: { append_configure: '--enable-rjit --disable-yjit' } }
286285 - { uses: './.github/actions/compilers', name: 'YJIT_FORCE_ENABLE', with: { cppflags: '-DYJIT_FORCE_ENABLE' } }
287286 - { uses: './.github/actions/compilers', name: 'RJIT_FORCE_ENABLE', with: { cppflags: '-DRJIT_FORCE_ENABLE' } }
288287 - { uses: './.github/actions/compilers', name: 'UNIVERSAL_PARSER', with: { cppflags: '-DUNIVERSAL_PARSER' } }
288+ - { uses: './.github/actions/compilers', name: 'ext/Setup', with: { static_exts: 'etc json/* */escape' } }
289289
290290 compilemax :
291291 name : ' omnibus compilations, result'
0 commit comments