Skip to content

Commit

Permalink
Add nim version check to tests task
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabben committed Feb 20, 2023
1 parent fb9d97d commit 2a93cad
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions sam_protocol.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ task tests, "Run tests":
exec "nimble test"
exec "nimble test -d:release"
exec "nimble test -d:release -d:danger"
exec "nimble test --gc:orc"
exec "nimble test --gc:orc -d:release"
exec "nimble test --gc:orc -d:release -d:danger"

when (NimMajor, NimMinor) >= (1, 2):
exec "nimble test --gc:arc"
exec "nimble test --gc:arc -d:release"
exec "nimble test --gc:arc -d:release -d:danger"

when (NimMajor, NimMinor) >= (1, 4):
exec "nimble test --gc:arc"
exec "nimble test --gc:arc -d:release"
exec "nimble test --gc:arc -d:release -d:danger"

0 comments on commit 2a93cad

Please sign in to comment.