1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

CI: add v build-tools task to the tcc job

This commit is contained in:
Delyan Angelov
2020-05-17 00:14:06 +03:00
parent 8cbb9e1c1f
commit fb27fe5379
3 changed files with 12 additions and 1 deletions

View File

@ -216,6 +216,10 @@ pub fn vlib_should_be_present(parent_dir string) {
}
pub fn v_build_failing(zargs string, folder string) bool {
return v_build_failing_skipped(zargs, folder, [])
}
pub fn v_build_failing_skipped(zargs string, folder string, skipped []string) bool {
main_label := 'Building $folder ...'
finish_label := 'building $folder'
vexe := pref.vexe_path()
@ -239,6 +243,7 @@ pub fn v_build_failing(zargs string, folder string) bool {
}
}
session.files << mains
session.skip_files << skipped
session.test()
eprintln(session.benchmark.total_message(finish_label))
return session.failed