mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-03 22:23:09 +00:00
test refc in CI in Nim 2.0 and later (#209)
This commit is contained in:
parent
583b89c264
commit
20fb49fdd0
@ -1,5 +1,5 @@
|
||||
# json-rpc
|
||||
# Copyright (c) 2019-2023 Status Research & Development GmbH
|
||||
# Copyright (c) 2019-2024 Status Research & Development GmbH
|
||||
# Licensed under either of
|
||||
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||||
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||||
@ -44,6 +44,8 @@ proc build(args, path: string) =
|
||||
|
||||
proc run(args, path: string) =
|
||||
build args & " -r", path
|
||||
if (NimMajor, NimMinor) > (1, 6):
|
||||
build args & " --mm:refc -r", path
|
||||
|
||||
proc buildBinary(name: string, srcDir = "./", params = "", cmdParams = "") =
|
||||
if not dirExists "build":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user