From e8cd056eb659e85029e3129803ae34459ce32806 Mon Sep 17 00:00:00 2001 From: Larpon Date: Tue, 29 Dec 2020 19:24:54 +0100 Subject: [PATCH] ci: add a `vab-compiles` job (#7687) --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 14fab08e7a..ca590d2e6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -851,3 +851,17 @@ jobs: run: cd vls; ../v cmd/vls ; cd .. - name: Build VLS with -prod run: cd vls; ../v -prod cmd/vls ; cd .. + + vab-compiles: + runs-on: ubuntu-18.04 + timeout-minutes: 30 + steps: + - uses: actions/checkout@v2 + - name: Build V + run: make -j2 && ./v -cc gcc -o v cmd/v + - name: Clone vab + run: git clone --depth 1 https://github.com/vlang/vab + - name: Build vab + run: cd vab; ../v ./vab.v ; cd .. + - name: Build vab with -prod + run: cd vab; ../v -prod ./vab.v ; cd ..