File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -e
4+
5+ function show() {
6+ printf " \u001b[35m$1 \u001b[0m\n"
7+ }
8+
9+ rm -rf ~ /.vmodules/gui/
10+
11+ export VJOBS=1
12+ show " Clone https://github.com/vlang/gui"
13+ v retry -- git clone --filter=blob:none --quiet https://github.com/vlang/gui ~ /.vmodules/gui/
14+ show " Checkout last known good commit"
15+ git -C ~ /.vmodules/gui/ checkout 7970eefacddea726f07ff2051f195805f75b0382
16+ show " Check module for syntax and semantic errors"
17+ v -shared -check ~ /.vmodules/gui
18+ show " Execute Tests"
19+ v test ~ /.vmodules/gui/
20+ show " Compile Examples"
21+ v should-compile-all -no-parallel ~ /.vmodules/gui/examples/
22+ rm -rf ~ /.vmodules/gui/
Original file line number Diff line number Diff line change 7070 echo "Run vsql/connection_test.v"
7171 v vsql/connection_test.v
7272
73+ - name : Test vlang/gui
74+ if : ${{ !cancelled() && steps.build.outcome == 'success' }}
75+ run : .github/workflows/compile_vlang_gui_examples.sh
7376 - name : Test discord.v
7477 if : ${{ !cancelled() && steps.build.outcome == 'success' }}
7578 run : .github/workflows/compile_discordv.sh
You can’t perform that action at this time.
0 commit comments