1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

CI: fix building v

This commit is contained in:
joe-conigliaro
2019-10-14 15:08:02 +11:00
committed by Alexander Medvednikov
parent e2bca190a9
commit de10a529b0
4 changed files with 8 additions and 11 deletions

View File

@@ -14,9 +14,9 @@ jobs:
brew install freetype glfw openssl
export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/opt/openssl/lib/"
- name: Build V
run: make && ./v -o v compiler
run: make && ./v -o v v.v
- name: Build V using V
run: ./v -o v2 compiler && ./v2 -o v3 compiler
run: ./v -o v2 v.v && ./v2 -o v3 v.v
- name: Test v->c
run: ./v test v
- name: Test v->js
@@ -36,7 +36,7 @@ jobs:
- name: Install dependencies
run: sudo apt-get update; sudo apt-get install --quiet -y libglfw3 libglfw3-dev libfreetype6-dev libssl-dev
- name: Build v
run: make && ./v -cc gcc -o v compiler
run: make && ./v -cc gcc -o v v.v
- name: Test v->c
run: ./v test v
- name: Test v->js
@@ -49,13 +49,13 @@ jobs:
- name: Install dependencies
run: sudo apt-get update; sudo apt-get install --quiet -y tcc libglfw3 libglfw3-dev libfreetype6-dev libssl-dev
- name: Build v
run: make && ./v -o v compiler
run: make && ./v -o v v.v
- name: Test v->c with tcc
env:
VFLAGS: -cc tcc
run: |
tcc -version
./v -o v2 compiler # Make sure vtcc can build itself
./v -o v2 v.v # Make sure vtcc can build itself
./v test v
build-windows-gcc: