ci: fix ci error of vls build (#12909)

pull/12917/head
yuyi 2021-12-21 01:08:22 +08:00 committed by GitHub
parent 68ada041e6
commit 9f7d71d338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 6 deletions

View File

@ -826,13 +826,11 @@ jobs:
run: make && sudo ./v symlink run: make && sudo ./v symlink
## vls ## vls
- name: Clone VLS tree-sitter - name: Clone VLS
run: git clone --depth 1 --no-single-branch https://github.com/vlang/vls run: git clone --depth 1 https://github.com/vlang/vls
- name: Checkout branch tree-sitter - name: Build VLS
run: pushd vls; git checkout use-tree-sitter; popd
- name: Build VLS tree-sitter
run: pushd vls; v cmd/vls ; popd run: pushd vls; v cmd/vls ; popd
- name: Build VLS tree-sitter with -prod - name: Build VLS with -prod
run: pushd vls; v -prod cmd/vls; popd run: pushd vls; v -prod cmd/vls; popd
## vsl ## vsl