ci: bring back Vid build

pull/2593/head
Alexander Medvednikov 2019-10-30 19:36:54 +03:00
parent 316cf025ae
commit 6b4dcb916b
2 changed files with 6 additions and 6 deletions

View File

@ -21,10 +21,10 @@ jobs:
run: ./v test v
- name: Test v->js
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
#- name: Test vid
#run: |
#git clone --depth 1 https://github.com/vlang/vid.git
#cd vid && ../v -o vid .
- name: Test vid
run: |
git clone --depth 1 https://github.com/vlang/vid.git
cd vid && ../v -o vid .
build-ubuntu:
runs-on: ubuntu-18.04

View File

@ -277,8 +277,8 @@ fn (p mut Parser) fn_decl() {
// C function header def? (fn C.NSMakeRect(int,int,int,int))
is_c := f.name == 'C' && p.tok == .dot
// Just fn signature? only builtin.v + default build mode
//if p.pref.is_verbose { // p.pref.build_mode == .build_module {
//println('\n\nfn_decl() name=$f.name receiver_typ=$receiver_typ nogen=$p.cgen.nogen')
//if p.pref.is_verbose {
//println('\n\nfn_decl() name=$f.name receiver_typ=$receiver_typ nogen=$p.cgen.nogen')
//}
if is_c {
p.check(.dot)