mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
CI: bring back vid test
This commit is contained in:
parent
db44004d51
commit
69b498d85d
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -19,10 +19,10 @@ jobs:
|
||||
run: ./v test v
|
||||
- name: Test v->js
|
||||
run: ./v -o hi.js examples/hello_v_js.v && node hi.js
|
||||
# - name: Test vid
|
||||
# run: |
|
||||
# git clone --depth 1 https://github.com/vlang/vid.git
|
||||
# cd vid && ../v -debug -o vid .
|
||||
- name: Test vid
|
||||
run: |
|
||||
git clone --depth 1 https://github.com/vlang/vid.git
|
||||
cd vid && ../v -debug -o vid .
|
||||
|
||||
build-ubuntu:
|
||||
runs-on: ubuntu-18.04
|
||||
|
14
.travis.yml
14
.travis.yml
@ -66,7 +66,7 @@ script:
|
||||
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
||||
## aliases do not work for some reason in travis, just use full commands :-|
|
||||
echo "Nodejs version:"
|
||||
node --version
|
||||
node --version
|
||||
# Build hi.js
|
||||
echo "fn main(){ println('Hello from V.js') }" > hi.v
|
||||
./v -o hi.js hi.v
|
||||
@ -75,15 +75,15 @@ script:
|
||||
- |
|
||||
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
||||
echo "Nodejs version:"
|
||||
node --version
|
||||
node --version
|
||||
# Build hi.js
|
||||
echo "fn main(){ println('Hello from V.js') }" > hi.v
|
||||
./v -o hi.js hi.v
|
||||
node hi.js
|
||||
fi
|
||||
- |
|
||||
# if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
||||
# # Build Vid
|
||||
# git clone https://github.com/vlang/vid
|
||||
# cd vid && ../v -debug -o vid .
|
||||
# fi
|
||||
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
|
||||
# Build Vid
|
||||
git clone https://github.com/vlang/vid
|
||||
cd vid && ../v -debug -o vid .
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user