This commit is contained in:
Kreyren 2020-02-07 18:14:15 +00:00
parent 9c12c3bd31
commit 7af21dc164
3 changed files with 11 additions and 1 deletions

@ -121,6 +121,7 @@ jobs:
[ ! -x "/opt/vlang/v" ] && unzip "$HOME/.cache/vlang-0.1.24.zip" -d /opt/vlang
# Symlink
[ ! -h "/usr/bin/v" ] && ln -sf /usr/bin/v /opt/vlang/v
ls -la /usr/bin/v
- name: make build-vlang
run: make build-vlang
check-vlang:

@ -1,3 +1,7 @@
fn hello() {
printf("%s\n", "Hello World")
}
fn main() {
println("hello world")
hello()
}

5
tests/vlang/hello_test.v Normal file

@ -0,0 +1,5 @@
fn hellocheck() {
if hello != "Hello World" {
exit 1
}
}