Skip to content

Commit c09664b

Browse files
Remove workaround for removed CI runner
1 parent aa39480 commit c09664b

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/generate_source.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,13 +201,6 @@ def main(argv):
201201

202202
# Need pass style file incase running with --verify and it can't find the file automatically in the temp directory
203203
style_file = os.path.join(repo_dir, '.clang-format')
204-
if common_codegen.IsGHA() and args.verify:
205-
# Have found that sometimes (~5%) the 20.04 Ubuntu machines have clang-format v11 but we need v14 to
206-
# use a dedicated style_file location. For these case there we can survive just skipping the verify check
207-
stdout = subprocess.check_output(['clang-format', '--version']).decode("utf-8")
208-
version = stdout[stdout.index('version') + 8:][:2]
209-
if int(version) < 14:
210-
return 0 # Success
211204

212205
# get directory where generators will run
213206
if args.verify or args.incremental:

0 commit comments

Comments
 (0)