Skip to content

Commit

Permalink
test refc in CI in Nim 2.0 and later (#39)
Browse files Browse the repository at this point in the history
* test refc in CI in Nim 2.0 and later

* Update results.nimble

Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>

* Nim 1.2 compilation was fixed

---------

Co-authored-by: Jacek Sieka <arnetheduck@gmail.com>
  • Loading branch information
tersec and arnetheduck authored Feb 28, 2024
1 parent dfeef8b commit 193d3c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions results.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ proc test(env, path: string) =
task test, "Runs the test suite":
for f in ["test_results.nim", "test_results2.nim"]:
test "", "tests/" & f
if (NimMajor, NimMinor) >= (2, 0):
test "--mm:refc", "tests/" & f

task bench, "Run benchmark":
test "-d:release", "benchmarks/benchmark.nim"

0 comments on commit 193d3c6

Please sign in to comment.