Skip to content

Commit

Permalink
require Nim 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec committed Jun 24, 2024
1 parent 914b9ff commit 3f47daf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cpu: amd64
#- os: windows
#cpu: i386
branch: [version-1-6, version-2-0, devel]
branch: [version-2-0, devel]
include:
- target:
os: linux
Expand Down
10 changes: 4 additions & 6 deletions web3.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ description = "These are the humble beginnings of library similar to web3.[js|py
license = "MIT or Apache License 2.0"

### Dependencies
requires "nim >= 1.6.0"
requires "nim >= 2.0.0"
requires "chronicles"
requires "chronos#head"
requires "bearssl#head"
Expand All @@ -36,12 +36,10 @@ proc test(args, path: string) =
" --outdir:build -r --skipParentCfg" &
" --warning[ObservableStores]:off --warning[GcUnsafe2]:off" &
" --styleCheck:usages --styleCheck:error" &
" --hint[XDeclaredButNotUsed]:off --hint[Processing]:off " &
path
" --hint[Processing]:off " & path


### tasks
task test, "Run all tests":
test "", "tests/all_tests.nim"
if (NimMajor, NimMinor) > (1, 6):
test "--mm:refc", "tests/all_tests.nim"
test "--mm:orc", "tests/all_tests.nim"
test "--mm:refc", "tests/all_tests.nim"

0 comments on commit 3f47daf

Please sign in to comment.