mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-11-19 18:23:51 +08:00
disable redundant gcc compilation in cpplint workflow
Signed-off-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
This commit is contained in:
6
.github/workflows/awesome_forkflow.yml
vendored
6
.github/workflows/awesome_forkflow.yml
vendored
@@ -169,11 +169,11 @@ jobs:
|
||||
for cpp_file in cpp_files:
|
||||
subprocess.run(["cpplint", "--filter=-legal/copyright,-build/include", cpp_file], check=True, text=True)
|
||||
|
||||
print("g++:")
|
||||
# print("g++:")
|
||||
# compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())
|
||||
# compile_files = [file for file in cpp_files if file.lower().endswith(compile_exts)]
|
||||
for cpp_file in cpp_files:
|
||||
subprocess.run(["g++", cpp_file], check=True, text=True)
|
||||
# for cpp_file in cpp_files:
|
||||
# subprocess.run(["g++", cpp_file], check=True, text=True)
|
||||
|
||||
upper_files = [file for file in cpp_files if file != file.lower()]
|
||||
if upper_files:
|
||||
|
||||
Reference in New Issue
Block a user