ci: fix prebuild.yml (#8269)

pull/8285/head
yuyi 2021-01-23 14:04:24 +08:00 committed by GitHub
parent e06e8b10cd
commit 3628751199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ jobs:
./v -version ./v -version
- name: Test V - name: Test V
run: | run: |
cd v
./v run examples/hello_world.v ./v run examples/hello_world.v
macos: macos:
@ -41,6 +42,7 @@ jobs:
./v -version ./v -version
- name: Test V - name: Test V
run: | run: |
cd v
./v run examples/hello_world.v ./v run examples/hello_world.v
windows: windows:
@ -56,4 +58,5 @@ jobs:
& .\v.exe -version & .\v.exe -version
- name: Test V - name: Test V
run: | run: |
& cd v
& .\v.exe run .\examples\hello_world.v & .\v.exe run .\examples\hello_world.v