ci: split code-formatting-perf-regressions in 2 jobs

pull/13246/head
Delyan Angelov 2022-01-21 17:06:25 +02:00
parent 04aab250aa
commit 36c9ed6889
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 13 additions and 3 deletions

View File

@ -21,7 +21,7 @@ jobs:
run: | run: |
! grep -r --exclude="*.yml" "a GPL license" . ! grep -r --exclude="*.yml" "a GPL license" .
code-formatting-perf-regressions: code-formatting:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
timeout-minutes: 15 timeout-minutes: 15
env: env:
@ -37,8 +37,18 @@ jobs:
- name: v test-fmt - name: v test-fmt
run: ./v -silent test-fmt run: ./v -silent test-fmt
## Performance regressions performance-regressions:
- name: Clone & Build vmaster/v 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: | run: |
git clone --depth=1 https://github.com/vlang/v vmaster/ git clone --depth=1 https://github.com/vlang/v vmaster/
(cd vmaster; make -j4) (cd vmaster; make -j4)