mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-03 22:23:09 +00:00
drop support for Nim v1.2/1.4 (#164)
This commit is contained in:
parent
172183e702
commit
f79be14c99
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
cpu: amd64
|
||||
#- os: windows
|
||||
#cpu: i386
|
||||
branch: [version-1-2, version-1-4, version-1-6, devel]
|
||||
branch: [version-1-6, devel]
|
||||
include:
|
||||
- target:
|
||||
os: linux
|
||||
|
||||
@ -8,7 +8,7 @@ license = "Apache License 2.0"
|
||||
skipDirs = @["tests"]
|
||||
|
||||
### Dependencies
|
||||
requires "nim >= 1.2.0",
|
||||
requires "nim >= 1.6.0",
|
||||
"stew",
|
||||
"nimcrypto",
|
||||
"stint",
|
||||
@ -24,9 +24,8 @@ let lang = getEnv("NIMLANG", "c") # Which backend (c/cpp/js)
|
||||
let flags = getEnv("NIMFLAGS", "") # Extra flags for the compiler
|
||||
let verbose = getEnv("V", "") notin ["", "0"]
|
||||
|
||||
let styleCheckStyle = if (NimMajor, NimMinor) < (1, 6): "hint" else: "error"
|
||||
let cfg =
|
||||
" --styleCheck:usages --styleCheck:" & styleCheckStyle &
|
||||
" --styleCheck:usages --styleCheck:error" &
|
||||
(if verbose: "" else: " --verbosity:0 --hints:off") &
|
||||
" --skipParentCfg --skipUserCfg --outdir:build --nimcache:build/nimcache -f" &
|
||||
" --threads:on -d:chronicles_log_level=ERROR"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user