No tsoloud on Travis Linux
This commit is contained in:
parent
96e0eea609
commit
79409d27b2
2 changed files with 10 additions and 4 deletions
|
|
@ -12,10 +12,14 @@ installDirs = @["nimterop"]
|
|||
|
||||
requires "nim >= 0.19.0", "regex >= 0.10.0", "cligen >= 0.9.17"
|
||||
|
||||
proc execCmd(cmd: string)=
|
||||
proc execCmd(cmd: string) =
|
||||
echo cmd
|
||||
exec cmd
|
||||
|
||||
proc tsoloud() =
|
||||
execCmd "nim c -r tests/tsoloud.nim"
|
||||
execCmd "nim cpp -r tests/tsoloud.nim"
|
||||
|
||||
task test, "Test":
|
||||
execCmd "nim c -r tests/tnimterop_c.nim"
|
||||
execCmd "nim cpp -r tests/tnimterop_c.nim"
|
||||
|
|
@ -24,5 +28,8 @@ task test, "Test":
|
|||
execCmd "nim c -r tests/tmath.nim"
|
||||
execCmd "nim cpp -r tests/tmath.nim"
|
||||
when not defined(OSX):
|
||||
execCmd "nim c -r tests/tsoloud.nim"
|
||||
execCmd "nim cpp -r tests/tsoloud.nim"
|
||||
when defined(Windows):
|
||||
tsoloud()
|
||||
else:
|
||||
if not existsEnv("TRAVIS"):
|
||||
tsoloud()
|
||||
|
|
@ -11,7 +11,6 @@ const
|
|||
cIncludeDir(inc)
|
||||
|
||||
when defined(Linux):
|
||||
{.passC: "-std=c++11".}
|
||||
{.passL: "-lpthread".}
|
||||
cDefine("WITH_OSS")
|
||||
cCompile(src/"backend/oss/*.cpp")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue