Skip to content

Commit 7d928b2

Browse files
committed
fix: fix the web compiler check in the CI config
1 parent 48314e2 commit 7d928b2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tools/options/meson.build

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ if get_option('run_in_ci')
6060
'checks': ['>=19.43', '<20'],
6161
}
6262

63+
emscripten_compiler_current = {
64+
'id': 'emscripten',
65+
'checks': ['>=4', '<5'],
66+
}
67+
6368
ci_config = {
6469
'cross_android': {
6570
'compilers': [clang_20_compiler],
@@ -71,7 +76,7 @@ if get_option('run_in_ci')
7176
'compilers': [gcc_14_compiler],
7277
},
7378
'cross_emscripten': {
74-
'compilers': [clang_19_compiler],
79+
'compilers': [emscripten_compiler_current],
7580
},
7681
'windows': {
7782
'compilers': [msvc_compiler_current],
@@ -127,7 +132,7 @@ if get_option('run_in_ci')
127132

128133
if not compiler_version.version_compare(version_check_for_compiler)
129134
error(
130-
'The compiler "' + c.get_id() + '" doesn\'t meet the version check "' + version_check_for_compiler + '"'
135+
'The compiler "' + c.get_id() + '" with version "' + compiler_version + '" doesn\'t meet the version check "' + version_check_for_compiler + '"'
131136
)
132137
endif
133138

0 commit comments

Comments
 (0)