From 8b1337029f0c4ce6a18075c0f1e38881f8c95b91 Mon Sep 17 00:00:00 2001 From: Ruofan XU <47302112+SleepyRoy@users.noreply.github.com> Date: Thu, 11 Feb 2021 08:23:03 +0800 Subject: [PATCH] ci: add build-examples task to tcc-windows CI (#8653) --- .github/workflows/ci.yml | 2 ++ cmd/tools/modules/testing/common.v | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 548a167127..a0c2c39d4f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -674,6 +674,8 @@ jobs: #node hi.js # - name: Test v binaries # run: ./v build-vbinaries + - name: Build examples + run: ./v build-examples - name: v2 self compilation run: .\v.exe -o v2.exe cmd/v && .\v2.exe -o v3.exe cmd/v diff --git a/cmd/tools/modules/testing/common.v b/cmd/tools/modules/testing/common.v index 8dca75d1f4..27889914bc 100644 --- a/cmd/tools/modules/testing/common.v +++ b/cmd/tools/modules/testing/common.v @@ -124,6 +124,9 @@ pub fn new_test_session(_vargs string) TestSession { skip_files << 'examples/websocket/ping.v' // requires OpenSSL skip_files << 'examples/websocket/client-server/client.v' // requires OpenSSL skip_files << 'examples/websocket/client-server/server.v' // requires OpenSSL + $if tinyc { + skip_files << 'examples/database/orm.v' // try fix it + } } if testing.github_job != 'ubuntu-tcc' { skip_files << 'examples/wkhtmltopdf.v' // needs installation of wkhtmltopdf from https://github.com/wkhtmltopdf/packaging/releases