Skip to content

Commit

Permalink
try fix github workflow with scons cache
Browse files Browse the repository at this point in the history
  • Loading branch information
3ddelano committed Dec 19, 2023
1 parent 6935668 commit c8a532b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ sources = Glob("src/*.cpp")
env.Append(LIBPATH=[eos_sdk_folder + "Lib/"])
env.Append(LIBPATH=[eos_sdk_folder + "Bin/"])
if env["platform"] == "windows":
# TODO: dont ignore this warning
# this disables LINK : error LNK1218: warning treated as error;
# so that it can build in github action with scons cache
env.Append(LINKFLAGS=["/ignore:4099"])

env.Append(LIBS=["EOSSDK-Win64-Shipping"])
elif env["platform"] == "linux":
env.Append(LIBS=["EOSSDK-Linux-Shipping.so"])
Expand Down

0 comments on commit c8a532b

Please sign in to comment.