From 2c7774d9828f3b889d63af2a277eecbf0b3134ab Mon Sep 17 00:00:00 2001 From: tersec Date: Sun, 4 Jun 2023 07:51:02 +0000 Subject: [PATCH] drop support for Nim 1.2, 1.4, add Nim 2.0 to CI testing matrix (#378) * add Nim 2.0 to CI testing matrix * Deprecate 1.2 and 1.4 testing branches. --------- Co-authored-by: cheatfate --- .github/workflows/ci.yml | 2 +- chronos.nimble | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 019f995..b78f2a1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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, version-2-0, devel] include: - target: os: linux diff --git a/chronos.nimble b/chronos.nimble index 6483d84..6b4ac58 100644 --- a/chronos.nimble +++ b/chronos.nimble @@ -36,8 +36,10 @@ task test, "Run all tests": "-d:debug -d:chronosPreviewV4", "-d:debug -d:chronosDebug -d:useSysAssert -d:useGcAssert", "-d:release", - "-d:release -d:chronosPreviewV4", - ]: run args, "tests/testall" + "-d:release -d:chronosPreviewV4"]: + run args, "tests/testall" + if (NimMajor, NimMinor) > (1, 6): + run args & " --mm:refc", "tests/testall" task test_libbacktrace, "test with libbacktrace": var allArgs = @[