From c132e6e6add779c8b758a7a36ba5b304935a9590 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 9 Jan 2022 23:02:55 +0100 Subject: [PATCH] Added custom v support for CI --- .woodpecker.yml | 15 ++++++++++----- Makefile | 10 ++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index eba96f6..51d2bb6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,11 +1,16 @@ pipeline: - lint: - image: 'thevlang/vlang:latest' + install-v: + image: 'alpine:latest' commands: - - v fmt -verify vieter + - make customv + + lint: + image: 'alpine:latest' + commands: + - jjr-v/v lint build: - image: 'thevlang/vlang:latest' + image: 'alpine:latest' commands: - - v vieter + - jjr-v/v vieter diff --git a/Makefile b/Makefile index ff0cc96..7e398fe 100644 --- a/Makefile +++ b/Makefile @@ -9,3 +9,13 @@ watch: .PHONY: fmt fmt: 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