Skip to content

Commit e97bf8d

Browse files
committed
ci: skip the multistage v->v2->v3 -usecache checks for now (reduce false positives on the CI for unrelated PRs, until the root cause is fixed)
1 parent 7cefeea commit e97bf8d

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

ci/linux_ci.vsh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,10 @@ fn build_fast_tcc() {
128128
}
129129
130130
fn v_self_compilation_usecache_tcc() {
131+
$if !enable_usecache_test ? {
132+
eprintln('> ${@LOCATION} use `-d enable_usecache_test` in VFLAGS to enable this task')
133+
return
134+
}
131135
exec('v wipe-cache')
132136
exec('v -usecache examples/hello_world.v')
133137
exec('./examples/hello_world')
@@ -199,6 +203,10 @@ fn v_self_compilation_gcc() {
199203
}
200204
201205
fn v_self_compilation_usecache_gcc() {
206+
$if !enable_usecache_test ? {
207+
eprintln('> ${@LOCATION} use `-d enable_usecache_test` in VFLAGS to enable this task')
208+
return
209+
}
202210
exec('v wipe-cache')
203211
exec('v -usecache examples/hello_world.v')
204212
exec('examples/hello_world')
@@ -317,6 +325,10 @@ fn v_self_compilation_clang() {
317325
}
318326
319327
fn v_self_compilation_usecache_clang() {
328+
$if !enable_usecache_test ? {
329+
eprintln('> ${@LOCATION} use `-d enable_usecache_test` in VFLAGS to enable this task')
330+
return
331+
}
320332
exec('v wipe-cache')
321333
exec('v -usecache examples/hello_world.v')
322334
exec('./examples/hello_world')

ci/macos_ci.vsh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,10 @@ fn build_v_with_prealloc() {
9898
}
9999
100100
fn v_self_compilation_usecache() {
101+
$if !enable_usecache_test ? {
102+
eprintln('> ${@LOCATION} use `-d enable_usecache_test` in VFLAGS to enable this task')
103+
return
104+
}
101105
exec('v -usecache examples/hello_world.v')
102106
exec('./examples/hello_world')
103107
exec('v -o v2 -usecache cmd/v')

0 commit comments

Comments
 (0)