From b0e03b2fd3851e754dd3568b19328e1651d964d3 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 11 May 2026 09:07:29 +0300 Subject: [PATCH] ci: install vglyph before testing gui --- .github/workflows/compile_vlang_gui_examples.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile_vlang_gui_examples.sh b/.github/workflows/compile_vlang_gui_examples.sh index 67804da07..3478751b1 100755 --- a/.github/workflows/compile_vlang_gui_examples.sh +++ b/.github/workflows/compile_vlang_gui_examples.sh @@ -6,9 +6,13 @@ function show() { printf "\u001b[35m$1\u001b[0m\n" } -rm -rf ~/.vmodules/gui/ +rm -rf ~/.vmodules/gui/ ~/.vmodules/vglyph/ export VJOBS=1 +show "Clone https://github.com/vlang/vglyph" +v retry -- git clone --filter=blob:none --quiet https://github.com/vlang/vglyph ~/.vmodules/vglyph/ +show "Use latest vlang/vglyph commit" +git -C ~/.vmodules/vglyph/ log -1 --oneline show "Clone https://github.com/vlang/gui" v retry -- git clone --filter=blob:none --quiet https://github.com/vlang/gui ~/.vmodules/gui/ show "Use latest vlang/gui commit" @@ -22,4 +26,4 @@ show "Execute Tests" v test ~/.vmodules/gui/ show "Compile Examples" v should-compile-all -no-parallel ~/.vmodules/gui/examples/ -rm -rf ~/.vmodules/gui/ +rm -rf ~/.vmodules/gui/ ~/.vmodules/vglyph/ -- 2.39.5