From d77a78d9450679cbd6c897269fe790a876810512 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 8 Jul 2020 08:59:05 +0300 Subject: [PATCH] ci: add a separate `gitly-compiles` job --- .github/workflows/ci.yml | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 031511ce7b..a9fcfdccae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -149,14 +149,6 @@ jobs: ## run: ./v -o hi.js examples/hello_v_js.v && node hi.js # - name: Build Vorum # run: git clone --depth 1 https://github.com/vlang/vorum && cd vorum && ../v . && cd .. - - name: Build Gitly - run: | - git clone --depth 1 https://github.com/vlang/gitly - ./v install markdown - cd gitly - ../v . - ../v -autofree . - cd .. # - name: Build vpm # run: git clone --depth 1 https://github.com/vlang/vpm && cd vpm && ../v . && cd .. # - name: Build V UI examples @@ -349,7 +341,6 @@ jobs: run: ./v run cmd/tools/check-md.v doc/docs.md CHANGELOG.md - compilable-v-c-and-v-win-c: runs-on: ubuntu-latest steps: @@ -403,3 +394,20 @@ jobs: run: | ./v install ui ./v install nedpals.args + + gitly-compiles: + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: sudo apt-get install --quiet -y libssl-dev sqlite3 libsqlite3-dev + - name: Build V + run: make -j2 && ./v -cc gcc -o v cmd/v + - name: Build Gitly + run: | + git clone --depth 1 https://github.com/vlang/gitly + ./v install markdown + cd gitly + ../v . + ../v -autofree . + cd ..