Added custom v support for CI

main
Jef Roosens 2022-01-09 23:02:55 +01:00
parent 93c0dc9c4f
commit c132e6e6ad
Signed by untrusted user: Jef Roosens
GPG Key ID: 955C0660072F691F
2 changed files with 20 additions and 5 deletions

View File

@ -1,11 +1,16 @@
pipeline: pipeline:
lint: install-v:
image: 'thevlang/vlang:latest' image: 'alpine:latest'
commands: commands:
- v fmt -verify vieter - make customv
lint:
image: 'alpine:latest'
commands:
- jjr-v/v lint
build: build:
image: 'thevlang/vlang:latest' image: 'alpine:latest'
commands: commands:
- v vieter - jjr-v/v vieter

View File

@ -9,3 +9,13 @@ watch:
.PHONY: fmt .PHONY: fmt
fmt: fmt:
v fmt -w vieter v fmt -w vieter
# Pulls & builds my personal build of the v compiler, required for this project to function
.PHONY: customv
customv:
rm -rf v-jjr
git clone \
-b vweb-streaming \
--single-branch \
https://github.com/ChewingBever/v jjr-v
make -C jjr-v