From 23f28f93364302a72807556de6b9632eedf4fed7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Mon, 14 Jun 2021 13:00:10 +0300 Subject: [PATCH] ci: fix v-apps-compile job --- .github/workflows/ci.yml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4c9acde6d..9ffdcc2e16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -794,15 +794,23 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build V - run: make -j2 && ./v -cc gcc -o v cmd/v + run: make && ./v symlink ## vls - - name: Clone VLS - run: git clone --depth 1 https://github.com/vlang/vls && git checkout master - - name: Build VLS - run: cd vls; ../v cmd/vls ; cd .. - - name: Build VLS with -prod - run: cd vls; ../v -prod cmd/vls ; cd .. + - name: Clone VLS tree-sitter + run: git clone --depth 1 --no-single-branch https://github.com/vlang/vls + - name: Checkout branch tree-sitter + run: pushd vls; git checkout use-tree-sitter; popd + - name: Build VLS tree-sitter + run: pushd vls; v cmd/vls ; popd + - name: Build VLS tree-sitter with -prod + run: pushd vls; v -prod cmd/vls; popd + - name: Checkout branch master + run: pushd vls; git checkout master; popd + - name: Build VLS master + run: pushd vls; v cmd/vls ; popd + - name: Build VLS master with -prod + run: pushd vls; v -prod cmd/vls ; popd ## vab - name: Clone vab