From 36c9ed68893fb9c6929e64087ad168169b400ebb Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 21 Jan 2022 17:06:25 +0200 Subject: [PATCH] ci: split code-formatting-perf-regressions in 2 jobs --- .github/workflows/ci.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 569f510e3b..6db7eae153 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: run: | ! grep -r --exclude="*.yml" "a GPL license" . - code-formatting-perf-regressions: + code-formatting: runs-on: ubuntu-20.04 timeout-minutes: 15 env: @@ -37,8 +37,18 @@ jobs: - name: v test-fmt run: ./v -silent test-fmt - ## Performance regressions - - name: Clone & Build vmaster/v + performance-regressions: + runs-on: ubuntu-20.04 + timeout-minutes: 15 + env: + VFLAGS: -cc gcc + steps: + - uses: actions/checkout@v2 + - name: Environment info + run: echo $VFLAGS $GITHUB_SHA $GITHUB_REF + - name: Build local v + run: make -j4 + - name: Clone & Build previous vmaster/v run: | git clone --depth=1 https://github.com/vlang/v vmaster/ (cd vmaster; make -j4)