From 44b99bc29924856621babf5e6ddb082a4975465f Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Mon, 28 Oct 2019 12:32:03 +0300 Subject: [PATCH] ci: don't run sqlite test on windows for now --- .github/workflows/ci.yml | 2 +- vlib/compiler/vtest.v | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3e7fa5744..9b3cdd4294 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,7 @@ jobs: steps: - uses: actions/checkout@v1 - 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 run: make && ./v -o v v.v - name: Test v->c with tcc diff --git a/vlib/compiler/vtest.v b/vlib/compiler/vtest.v index c9cf59b80c..65e61343c5 100644 --- a/vlib/compiler/vtest.v +++ b/vlib/compiler/vtest.v @@ -80,6 +80,9 @@ pub fn (ts mut TestSession) test() { for dot_relative_file in ts.files { relative_file := dot_relative_file.replace('./', '') file := os.realpath( relative_file ) + $if windows { + if file.contains('sqlite') { continue } + } tmpc_filepath := file.replace('.v', '.tmp.c') mut cmd := '"$ts.vexe" $ts.vargs "$file"'