Commit 0c4e833
committed
ci: build + run Qt-side tests on Linux and Windows (Qt6); fix TSan regex
The parent CI workflows (ci-linux.yml, ci-macos.yml, ci-win.yml)
previously produced release artifacts only and did not exercise
the test suite -- the Qt-side tests (test_syncservice,
test_sync_classifier, test_sync_ops, test_syncops_gate_release,
test_syncservice_lifecycle, test_syncservice_credentials_cleanup,
etc.) had zero CI coverage.
Add ctest invocation after the packaging build on:
- ci-linux.yml: full ctest with QT_QPA_PLATFORM=offscreen and
LD_LIBRARY_PATH pointing at the in-build libVTextEdit.so so
Qt-side test exes resolve the shared lib at load time.
- ci-win.yml: ctest gated on matrix.config.qt_major == 6 (the
Qt5 entry must remain packaging-only because
tests/CMakeLists.txt hard-requires find_package(Qt6 REQUIRED)).
VNOTE_BUILD_TESTS now toggles based on qt_major instead of being
unconditionally OFF.
Also fix ci-linux-tsan.yml regex so test_vxcore_sync_is_registered
(introduced in 4fca0d8 in libs/vxcore) is picked up under
ThreadSanitizer. test_vxcore_sync_cancellable_api and
test_sync_credentials_api were also missing from the regex; added
them for completeness.
ci-macos.yml is left untouched here; macOS test enablement
requires similar offscreen setup and is out of scope for this
immediate sync-fix follow-up.1 parent 925e069 commit 0c4e833
3 files changed
Lines changed: 34 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
124 | 139 | | |
125 | 140 | | |
126 | 141 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
130 | | - | |
| 134 | + | |
131 | 135 | | |
132 | 136 | | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
138 | 155 | | |
139 | 156 | | |
140 | 157 | | |
| |||
0 commit comments