fdhsfdh
This commit is contained in:
parent
9c12c3bd31
commit
7af21dc164
1
.github/workflows/cona-isa.yml
vendored
1
.github/workflows/cona-isa.yml
vendored
@ -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
5
tests/vlang/hello_test.v
Normal file
@ -0,0 +1,5 @@
|
||||
fn hellocheck() {
|
||||
if hello != "Hello World" {
|
||||
exit 1
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user