ci: don't run sqlite test on windows for now

pull/2574/head
Alexander Medvednikov 2019-10-28 12:32:03 +03:00
parent a7568ea54b
commit 44b99bc299
2 changed files with 4 additions and 1 deletions

View File

@ -47,7 +47,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Install dependencies - name: Install dependencies
run: sudo apt-get update; sudo apt-get install --quiet -y tcc libglfw3 libglfw3-dev libfreetype6-dev libssl-dev run: sudo apt-get update; sudo apt-get install --quiet -y tcc libglfw3 libglfw3-dev libfreetype6-dev libssl-dev sqlite3 libsqlite3-dev
- name: Build v - name: Build v
run: make && ./v -o v v.v run: make && ./v -o v v.v
- name: Test v->c with tcc - name: Test v->c with tcc

View File

@ -80,6 +80,9 @@ pub fn (ts mut TestSession) test() {
for dot_relative_file in ts.files { for dot_relative_file in ts.files {
relative_file := dot_relative_file.replace('./', '') relative_file := dot_relative_file.replace('./', '')
file := os.realpath( relative_file ) file := os.realpath( relative_file )
$if windows {
if file.contains('sqlite') { continue }
}
tmpc_filepath := file.replace('.v', '.tmp.c') tmpc_filepath := file.replace('.v', '.tmp.c')
mut cmd := '"$ts.vexe" $ts.vargs "$file"' mut cmd := '"$ts.vexe" $ts.vargs "$file"'