ci: bring back Vid build
parent
316cf025ae
commit
6b4dcb916b
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue