Skip to content

Commit 40cd292

Browse files
committed
Balance omnibus compilations
1 parent 260d4c7 commit 40cd292

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/compilers.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ 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 } }
6567

6668
compile2:
6769
name: 'omnibus compilations, #2'
@@ -80,6 +82,7 @@ jobs:
8082
with_gcc: 'gcc-13 -flto=auto -ffat-lto-objects -Werror=lto-type-mismatch'
8183
optflags: '-O2'
8284
enable_shared: false
85+
- { uses: './.github/actions/compilers', name: 'ext/Setup', with: { static_exts: 'etc json/* */escape' } }
8386
- { uses: './.github/actions/compilers', name: 'GCC 13', with: { tag: 'gcc-13' } }
8487
- { uses: './.github/actions/compilers', name: 'GCC 12', with: { tag: 'gcc-12' } }
8588
- { uses: './.github/actions/compilers', name: 'GCC 11', with: { tag: 'gcc-11' } }
@@ -105,7 +108,6 @@ jobs:
105108
- { uses: './.github/actions/compilers', name: 'clang 16', with: { tag: 'clang-16' } }
106109
- { uses: './.github/actions/compilers', name: 'clang 15', with: { tag: 'clang-15' } }
107110
- { uses: './.github/actions/compilers', name: 'clang 14', with: { tag: 'clang-14' } }
108-
- { uses: './.github/actions/compilers', name: 'clang 13', with: { tag: 'clang-13' } }
109111

110112
compile4:
111113
name: 'omnibus compilations, #4'
@@ -117,6 +119,7 @@ jobs:
117119
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
118120
with: { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
119121
- { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
122+
- { uses: './.github/actions/compilers', name: 'clang 13', with: { tag: 'clang-13' } }
120123
- { uses: './.github/actions/compilers', name: 'clang 12', with: { tag: 'clang-12' } }
121124
- { uses: './.github/actions/compilers', name: 'clang 11', with: { tag: 'clang-11' } }
122125
- { uses: './.github/actions/compilers', name: 'clang 10', with: { tag: 'clang-10' } }
@@ -125,7 +128,6 @@ jobs:
125128
- { uses: './.github/actions/compilers', name: 'clang 8', with: { tag: 'clang-8', append_configure: '--disable-yjit' } }
126129
- { uses: './.github/actions/compilers', name: 'clang 7', with: { tag: 'clang-7', append_configure: '--disable-yjit' } }
127130
- { uses: './.github/actions/compilers', name: 'clang 6', with: { tag: 'clang-6.0', append_configure: '--disable-yjit' } }
128-
- { uses: './.github/actions/compilers', name: 'C99', with: { CFLAGS: '-std=c99 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
129131

130132
compile5:
131133
name: 'omnibus compilations, #5'
@@ -143,14 +145,14 @@ jobs:
143145
# warning generates a lot of noise from use of ANYARGS in
144146
# rb_define_method() and friends.
145147
# See: https://github.com/llvm/llvm-project/commit/11da1b53d8cd3507959022cd790d5a7ad4573d94
148+
- { uses: './.github/actions/compilers', name: 'C99', with: { CFLAGS: '-std=c99 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
146149
- { uses: './.github/actions/compilers', name: 'C11', with: { CFLAGS: '-std=c11 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
147150
- { uses: './.github/actions/compilers', name: 'C17', with: { CFLAGS: '-std=c17 -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
148151
- { uses: './.github/actions/compilers', name: 'C23', with: { CFLAGS: '-std=c2x -Werror=pedantic -pedantic-errors -Wno-strict-prototypes' } }
149152
- { uses: './.github/actions/compilers', name: 'C++98', with: { CXXFLAGS: '-std=c++98 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
150153
- { uses: './.github/actions/compilers', name: 'C++11', with: { CXXFLAGS: '-std=c++11 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
151154
- { uses: './.github/actions/compilers', name: 'C++14', with: { CXXFLAGS: '-std=c++14 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
152155
- { uses: './.github/actions/compilers', name: 'C++17', with: { CXXFLAGS: '-std=c++17 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
153-
- { uses: './.github/actions/compilers', name: 'C++20', with: { CXXFLAGS: '-std=c++20 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
154156

155157
compile6:
156158
name: 'omnibus compilations, #6'
@@ -162,10 +164,9 @@ jobs:
162164
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
163165
with: { sparse-checkout-cone-mode: false, sparse-checkout: /.github }
164166
- { uses: './.github/actions/setup/directories', with: { srcdir: 'src', builddir: 'build', makeup: true } }
167+
- { uses: './.github/actions/compilers', name: 'C++20', with: { CXXFLAGS: '-std=c++20 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
165168
- { uses: './.github/actions/compilers', name: 'C++23', with: { CXXFLAGS: '-std=c++23 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
166169
- { uses: './.github/actions/compilers', name: 'C++26', with: { CXXFLAGS: '-std=c++26 -Werror=pedantic -pedantic-errors -Wno-c++11-long-long' } }
167-
- { uses: './.github/actions/compilers', name: '-O0', with: { optflags: '-O0 -march=x86-64 -mtune=generic' } }
168-
# - { uses: './.github/actions/compilers', name: '-O3', with: { optflags: '-O3 -march=x86-64 -mtune=generic', check: true } }
169170
- { uses: './.github/actions/compilers', name: 'gmp', with: { append_configure: '--with-gmp', check: 'ruby/test_bignum.rb', mspecopt: "/github/workspace/src/spec/ruby/core/integer" } }
170171
- { uses: './.github/actions/compilers', name: 'jemalloc', with: { append_configure: '--with-jemalloc' } }
171172
- { uses: './.github/actions/compilers', name: 'valgrind', with: { append_configure: '--with-valgrind' } }
@@ -285,7 +286,6 @@ jobs:
285286
- { uses: './.github/actions/compilers', name: 'YJIT_FORCE_ENABLE', with: { cppflags: '-DYJIT_FORCE_ENABLE' } }
286287
- { uses: './.github/actions/compilers', name: 'RJIT_FORCE_ENABLE', with: { cppflags: '-DRJIT_FORCE_ENABLE' } }
287288
- { 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

Comments
 (0)