add test for vcc compiler
This commit is contained in:
parent
22fabba6df
commit
e1b6d5c92f
|
@ -34,6 +34,9 @@ build_script:
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- nimble test
|
- nimble test
|
||||||
|
- IF "%PLATFORM%" == "x86" CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
|
||||||
|
- IF "%PLATFORM%" == "x64" CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
|
||||||
|
- nimble testvcc
|
||||||
|
|
||||||
deploy: off
|
deploy: off
|
||||||
|
|
||||||
|
|
|
@ -1 +1,2 @@
|
||||||
nimcache
|
nimcache
|
||||||
|
*.exe
|
||||||
|
|
|
@ -12,3 +12,7 @@ requires "nim >= 1.2.0"
|
||||||
task test, "Run all tests":
|
task test, "Run all tests":
|
||||||
exec "nim c -r --threads:off tests/all_tests"
|
exec "nim c -r --threads:off tests/all_tests"
|
||||||
exec "nim c -r --threads:on -d:nimTypeNames tests/all_tests"
|
exec "nim c -r --threads:on -d:nimTypeNames tests/all_tests"
|
||||||
|
|
||||||
|
task testvcc, "Run all tests with vcc compiler":
|
||||||
|
exec "nim c -r --cc:vcc --threads:off tests/all_tests"
|
||||||
|
exec "nim c -r --cc:vcc --threads:on -d:nimTypeNames tests/all_tests"
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
vcc.exe = "cl.exe"
|
||||||
|
vcc.cpp.exe = "cl.exe"
|
||||||
|
vcc.linkerexe = "cl.exe"
|
||||||
|
vcc.cpp.linkerexe = "cl.exe"
|
Loading…
Reference in New Issue