Skip to content

Commit 83e8f6b

Browse files
committed
CI: Balance Compilations runners [ci skip]
1 parent e19bb99 commit 83e8f6b

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/compilers.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ jobs:
6262
with_gcc: 'clang-18 -flto=auto'
6363
optflags: '-O2'
6464
enable_shared: false
65-
- { uses: './.github/actions/compilers', name: '-O0', with: { optflags: '-O0 -march=x86-64 -mtune=generic' } }
66-
# - { uses: './.github/actions/compilers', name: '-O3', with: { optflags: '-O3 -march=x86-64 -mtune=generic', check: true } }
6765

6866
compile2:
6967
name: 'omnibus compilations, #2'
@@ -83,7 +81,6 @@ jobs:
8381
with_gcc: 'gcc-15 -flto=auto -ffat-lto-objects -Werror=lto-type-mismatch'
8482
optflags: '-O2'
8583
enable_shared: false
86-
- { uses: './.github/actions/compilers', name: 'ext/Setup', with: { static_exts: 'etc json/* */escape' } }
8784
- { uses: './.github/actions/compilers', name: 'GCC 15', with: { tag: 'gcc-15' } }
8885
- { uses: './.github/actions/compilers', name: 'GCC 14', with: { tag: 'gcc-14' } }
8986
- { uses: './.github/actions/compilers', name: 'GCC 13', with: { tag: 'gcc-13' } }
@@ -113,7 +110,6 @@ jobs:
113110
- { uses: './.github/actions/compilers', name: 'clang 17', with: { tag: 'clang-17' } }
114111
- { uses: './.github/actions/compilers', name: 'clang 16', with: { tag: 'clang-16' } }
115112
- { uses: './.github/actions/compilers', name: 'clang 15', with: { tag: 'clang-15' } }
116-
- { uses: './.github/actions/compilers', name: 'clang 14', with: { tag: 'clang-14' } }
117113

118114
compile4:
119115
name: 'omnibus compilations, #4'
@@ -126,6 +122,7 @@ jobs:
126122
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
127123
with: { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
128124
- { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true, fetch-depth: 10 } }
125+
- { uses: './.github/actions/compilers', name: 'clang 14', with: { tag: 'clang-14' } }
129126
- { uses: './.github/actions/compilers', name: 'clang 13', with: { tag: 'clang-13' } }
130127
- { uses: './.github/actions/compilers', name: 'clang 12', with: { tag: 'clang-12' } }
131128
- { uses: './.github/actions/compilers', name: 'clang 11', with: { tag: 'clang-11' } }
@@ -153,14 +150,15 @@ jobs:
153150
# warning generates a lot of noise from use of ANYARGS in
154151
# rb_define_method() and friends.
155152
# See: https://github.com/llvm/llvm-project/commit/11da1b53d8cd3507959022cd790d5a7ad4573d94
156-
- { uses: './.github/actions/compilers', name: 'C99', with: { CFLAGS: '-std=c99 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
153+
- { uses: './.github/actions/compilers', name: 'C99', with: { CFLAGS: '-std=c99 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
157154
- { uses: './.github/actions/compilers', name: 'C11', with: { CFLAGS: '-std=c11 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
158155
- { uses: './.github/actions/compilers', name: 'C17', with: { CFLAGS: '-std=c17 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
159156
- { uses: './.github/actions/compilers', name: 'C23', with: { CFLAGS: '-std=c2x -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
160157
- { uses: './.github/actions/compilers', name: 'C++98', with: { CXXFLAGS: '-std=c++98 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
161158
- { uses: './.github/actions/compilers', name: 'C++11', with: { CXXFLAGS: '-std=c++11 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
162159
- { uses: './.github/actions/compilers', name: 'C++14', with: { CXXFLAGS: '-std=c++14 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
163160
- { uses: './.github/actions/compilers', name: 'C++17', with: { CXXFLAGS: '-std=c++17 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
161+
- { uses: './.github/actions/compilers', name: 'C++20', with: { CXXFLAGS: '-std=c++20 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
164162

165163
compile6:
166164
name: 'omnibus compilations, #6'
@@ -173,7 +171,6 @@ jobs:
173171
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
174172
with: { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
175173
- { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true, fetch-depth: 10 } }
176-
- { uses: './.github/actions/compilers', name: 'C++20', with: { CXXFLAGS: '-std=c++20 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
177174
- { uses: './.github/actions/compilers', name: 'C++23', with: { CXXFLAGS: '-std=c++23 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
178175
- { uses: './.github/actions/compilers', name: 'C++26', with: { CXXFLAGS: '-std=c++26 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
179176
- { uses: './.github/actions/compilers', name: 'gmp', with: { append_configure: '--with-gmp', check: 'ruby/test_bignum.rb', mspecopt: "/github/workspace/src/spec/ruby/core/integer" } }
@@ -200,9 +197,7 @@ jobs:
200197
- { uses: './.github/actions/compilers', name: 'enable-mkmf-verbose', with: { append_configure: '--enable-mkmf-verbose' } }
201198
- { uses: './.github/actions/compilers', name: 'disable-rubygems', with: { append_configure: '--disable-rubygems' } }
202199
- { uses: './.github/actions/compilers', name: 'RUBY_DEVEL', with: { append_configure: '--enable-devel' } }
203-
- { uses: './.github/actions/compilers', name: 'OPT_THREADED_CODE=0', with: { cppflags: '-DOPT_THREADED_CODE=0' } }
204-
- { uses: './.github/actions/compilers', name: 'OPT_THREADED_CODE=1', with: { cppflags: '-DOPT_THREADED_CODE=1' } }
205-
- { uses: './.github/actions/compilers', name: 'OPT_THREADED_CODE=2', with: { cppflags: '-DOPT_THREADED_CODE=2' } }
200+
- { uses: './.github/actions/compilers', name: 'ext/Setup', with: { static_exts: 'etc json/* */escape' } }
206201

207202
compile8:
208203
name: 'omnibus compilations, #8'
@@ -282,6 +277,9 @@ jobs:
282277
- { uses: './.github/actions/compilers', name: 'MALLOC_ALLOCATED_SIZE_CHECK', with: { cppflags: '-DMALLOC_ALLOCATED_SIZE_CHECK' } }
283278
- { uses: './.github/actions/compilers', name: 'RGENGC_ESTIMATE_OLDMALLOC', with: { cppflags: '-DRGENGC_ESTIMATE_OLDMALLOC' } }
284279
- { uses: './.github/actions/compilers', name: 'RGENGC_PROFILE', with: { cppflags: '-DRGENGC_PROFILE' } }
280+
- { uses: './.github/actions/compilers', name: 'OPT_THREADED_CODE=0', with: { cppflags: '-DOPT_THREADED_CODE=0' } }
281+
- { uses: './.github/actions/compilers', name: 'OPT_THREADED_CODE=1', with: { cppflags: '-DOPT_THREADED_CODE=1' } }
282+
- { uses: './.github/actions/compilers', name: 'OPT_THREADED_CODE=2', with: { cppflags: '-DOPT_THREADED_CODE=2' } }
285283

286284
compileC:
287285
name: 'omnibus compilations, #12'
@@ -298,6 +296,7 @@ jobs:
298296
- { uses: './.github/actions/compilers', name: 'VM_DEBUG_VERIFY_METHOD_CACHE', with: { cppflags: '-DVM_DEBUG_VERIFY_METHOD_CACHE' } }
299297
- { uses: './.github/actions/compilers', name: 'YJIT_FORCE_ENABLE', with: { cppflags: '-DYJIT_FORCE_ENABLE' } }
300298
- { uses: './.github/actions/compilers', name: 'UNIVERSAL_PARSER', with: { cppflags: '-DUNIVERSAL_PARSER' } }
299+
- { uses: './.github/actions/compilers', name: '-O0', with: { optflags: '-O0 -march=x86-64 -mtune=generic' } }
301300

302301
compilemax:
303302
name: 'omnibus compilations, result'

0 commit comments

Comments
 (0)