Fix github workflow running out of memory
This commit is contained in:
@@ -7,10 +7,12 @@
|
||||
#include "../standalone_libraries/clexer.c"
|
||||
|
||||
void TestLexDir(S8_String dir) {
|
||||
MA_Scratch scratch;
|
||||
MA_Scratch scratch_filenames;
|
||||
char buff[1024];
|
||||
char msg_buff[1024];
|
||||
for (OS_FileIter iter = OS_IterateFiles(scratch, dir); OS_IsValid(iter); OS_Advance(&iter)) {
|
||||
for (OS_FileIter iter = OS_IterateFiles(scratch_filenames, dir); OS_IsValid(iter); OS_Advance(&iter)) {
|
||||
MA_Scratch scratch(scratch_filenames.checkpoint);
|
||||
|
||||
S8_String file = OS_ReadFile(scratch, iter.absolute_path);
|
||||
if (!file.str) continue;
|
||||
CL_Lexer lexer = CL_Begin(scratch, file.str, iter.absolute_path.str);
|
||||
|
||||
Reference in New Issue
Block a user