Skip to content

Commit

Permalink
Try building with gcc on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk committed Sep 11, 2024
1 parent b8a2558 commit c6ee7da
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/runci/targets/Hl.hx
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,25 @@ class Hl {
'-L$hlInstallLibDir', "-lhl"
]);

run('$dir/$filename.exe', []);
case "Windows" if (isCi()):

runCommand("gcc", [
"-o",
'$dir/$filename.exe',
'$dir/$filename.c',
'-I$dir',
'-I$hlInstallDir/include',
'$hlInstallLibDir/fmt.hdll',
'$hlInstallLibDir/ssl.hdll',
'$hlInstallLibDir/sqlite.hdll',
"-lm",
"-ldbghelp",
"-municode",
'-L$hlInstallLibDir',
"-lhl"
]);

run('$dir/$filename.exe', []);

case _: // TODO hl/c for mac/windows
Expand Down

0 comments on commit c6ee7da

Please sign in to comment.