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
commit 30bd75e459
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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")