continue booting the compiler with refc (#20421)

* continue boot the compiler with refc

* koch

* use `gc:refc`
This commit is contained in:
ringabout
2022-09-24 20:14:01 +08:00
committed by GitHub
parent 37ca97dd76
commit 30bd75e459
3 changed files with 3 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ jobs:
- name: 'Build the real compiler'
shell: bash
run: ./koch boot -d:release --gc:refc
run: ./koch boot -d:release
- name: 'Build documentation'
shell: bash

View File

@@ -6,6 +6,7 @@ define:booting
define:nimcore
define:nimPreviewFloatRoundtrip
define:nimPreviewSlimSystem
gc:refc
#import:"$projectpath/testability"

View File

@@ -548,7 +548,7 @@ proc runCI(cmd: string) =
# boot without -d:nimHasLibFFI to make sure this still works
# `--lib:lib` is needed for bootstrap on openbsd, for reasons described in
# https://github.com/nim-lang/Nim/pull/14291 (`getAppFilename` bugsfor older nim on openbsd).
kochExecFold("Boot in release mode", "boot -d:release --gc:refc -d:nimStrictMode --lib:lib")
kochExecFold("Boot in release mode", "boot -d:release -d:nimStrictMode --lib:lib")
when false: # debugging: when you need to run only 1 test in CI, use something like this:
execFold("debugging test", "nim r tests/stdlib/tosproc.nim")