Skip to content

Commit 3a00ba5

Browse files
author
Kiriti
committed
Fix CI: Remove merge conflict markers, remove OpenCV dependency, enable full vision conformance tests (~6000 tests)
1 parent fa986fe commit 3a00ba5

1 file changed

Lines changed: 2 additions & 42 deletions

File tree

.github/workflows/openvx-conformance.yml

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ jobs:
5050
cmake \
5151
ninja-build \
5252
libgtest-dev \
53-
<<<<<<< HEAD
54-
libjpeg-dev \
55-
libpng-dev \
56-
libtiff-dev \
57-
=======
58-
libopencv-dev \
59-
>>>>>>> origin/master
6053
python3 \
6154
python3-pip
6255
@@ -67,7 +60,6 @@ jobs:
6760
rustc --version
6861
cargo --version
6962
70-
<<<<<<< HEAD
7163
- name: Cache Cargo registry
7264
uses: actions/cache@v4
7365
with:
@@ -102,8 +94,6 @@ jobs:
10294
${{ runner.os }}-cts-build-${{ hashFiles('OpenVX-cts/CMakeLists.txt') }}-
10395
${{ runner.os }}-cts-build-
10496
105-
=======
106-
>>>>>>> origin/master
10797
- name: Build rustVX
10898
run: |
10999
source $HOME/.cargo/env
@@ -139,7 +129,6 @@ jobs:
139129
cp -r ../include/* include/ 2>/dev/null || true
140130
fi
141131
142-
<<<<<<< HEAD
143132
# Ensure clean build directory if CMake configuration changed
144133
if [ -f "build/CMakeCache.txt" ]; then
145134
echo "Using cached CTS build"
@@ -149,9 +138,6 @@ jobs:
149138
mkdir -p build
150139
fi
151140
152-
=======
153-
mkdir -p build
154-
>>>>>>> origin/master
155141
cd build
156142
157143
# Configure with verbose output and proper include paths
@@ -163,11 +149,7 @@ jobs:
163149
-DOPENVX_INCLUDES="${{ github.workspace }}/include;${{ github.workspace }}/OpenVX-cts/include" \
164150
-DOPENVX_LIBRARIES="${{ github.workspace }}/target/release/libopenvx_core.so;${{ github.workspace }}/target/release/libopenvx_ffi.so;m" \
165151
-DOPENVX_CONFORMANCE_VISION=ON \
166-
<<<<<<< HEAD
167152
-DOPENVX_CONFORMANCE_NEURAL_NETWORKS=OFF \
168-
-DOPENVX_CONFORMANCE_OTHER=OFF \
169-
=======
170-
>>>>>>> origin/master
171153
2>&1 || {
172154
echo "CMAKE FAILED!"
173155
echo "CMake output:"
@@ -222,13 +204,8 @@ jobs:
222204
# Create output directory for results
223205
mkdir -p ${{ github.workspace }}/test-results
224206
225-
<<<<<<< HEAD
226-
# Run full vision conformance tests
207+
# Run full vision conformance tests (~6000 tests)
227208
timeout 600 ./bin/vx_test_conformance 2>&1 | tee ${{ github.workspace }}/test-results/vision_test_output.txt || true
228-
=======
229-
# Run tests
230-
timeout 300 ./bin/vx_test_conformance 2>&1 | tee ${{ github.workspace }}/test-results/vision_test_output.txt || true
231-
>>>>>>> origin/master
232209
233210
echo "Test execution completed."
234211
@@ -254,41 +231,31 @@ jobs:
254231
FAIL_COUNT=$(grep -c "\[ !FAILED! \]" "$OUTPUT_FILE" 2>/dev/null || echo "0")
255232
echo "Tests failed: $FAIL_COUNT"
256233
257-
<<<<<<< HEAD
258234
# Count skipped tests
259235
SKIP_COUNT=$(grep -c "\[ SKIP \]" "$OUTPUT_FILE" 2>/dev/null || echo "0")
260236
echo "Tests skipped: $SKIP_COUNT"
261237
262-
=======
263-
>>>>>>> origin/master
264238
# Extract test summary
265239
echo "========================================" | tee ${{ github.workspace }}/test-results/summary.txt
266240
echo "Vision Conformance Test Summary" | tee -a ${{ github.workspace }}/test-results/summary.txt
267241
echo "========================================" | tee -a ${{ github.workspace }}/test-results/summary.txt
268242
echo "Passed: $PASS_COUNT" | tee -a ${{ github.workspace }}/test-results/summary.txt
269243
echo "Failed: $FAIL_COUNT" | tee -a ${{ github.workspace }}/test-results/summary.txt
270-
<<<<<<< HEAD
271244
echo "Skipped: $SKIP_COUNT" | tee -a ${{ github.workspace }}/test-results/summary.txt
272245
echo "Total: $((PASS_COUNT + FAIL_COUNT + SKIP_COUNT))" | tee -a ${{ github.workspace }}/test-results/summary.txt
273-
=======
274-
echo "Total: $((PASS_COUNT + FAIL_COUNT))" | tee -a ${{ github.workspace }}/test-results/summary.txt
275-
>>>>>>> origin/master
276246
277247
if [ "$FAIL_COUNT" -eq 0 ] && [ "$PASS_COUNT" -gt 0 ]; then
278248
echo "Status: ✅ ALL TESTS PASSED" | tee -a ${{ github.workspace }}/test-results/summary.txt
279249
elif [ "$PASS_COUNT" -gt 0 ]; then
280-
echo "Status: ⚠️ PARTIAL SUCCESS ($PASS_COUNT/$((PASS_COUNT + FAIL_COUNT)))" | tee -a ${{ github.workspace }}/test-results/summary.txt
250+
echo "Status: ⚠️ PARTIAL SUCCESS ($PASS_COUNT/$((PASS_COUNT + FAIL_COUNT + SKIP_COUNT)))" | tee -a ${{ github.workspace }}/test-results/summary.txt
281251
else
282252
echo "Status: ❌ NO TESTS PASSED" | tee -a ${{ github.workspace }}/test-results/summary.txt
283253
fi
284254
285255
# Set outputs for GitHub Actions summary
286256
echo "pass_count=$PASS_COUNT" >> $GITHUB_OUTPUT
287257
echo "fail_count=$FAIL_COUNT" >> $GITHUB_OUTPUT
288-
<<<<<<< HEAD
289258
echo "skip_count=$SKIP_COUNT" >> $GITHUB_OUTPUT
290-
=======
291-
>>>>>>> origin/master
292259
293260
- name: Upload test results
294261
uses: actions/upload-artifact@v4
@@ -314,15 +281,8 @@ jobs:
314281
source $HOME/.cargo/env
315282
echo "- **Rust Version:** $(rustc --version)" >> $GITHUB_STEP_SUMMARY
316283
echo "- **Build Type:** Release" >> $GITHUB_STEP_SUMMARY
317-
<<<<<<< HEAD
318284
echo "- **CTS Build:** OpenVX Conformance Test Suite (Vision Only)" >> $GITHUB_STEP_SUMMARY
319285
echo "- **Test Suite:** Full Vision Conformance (~6000 tests)" >> $GITHUB_STEP_SUMMARY
320286
321287
echo "" >> $GITHUB_STEP_SUMMARY
322288
echo "📥 **Download full logs:** See Artifacts section above" >> $GITHUB_STEP_SUMMARY
323-
=======
324-
echo "- **CTS Build:** OpenVX Conformance Test Suite" >> $GITHUB_STEP_SUMMARY
325-
326-
echo "" >> $GITHUB_STEP_SUMMARY
327-
echo "📥 **Download full logs:** See Artifacts section above" >> $GITHUB_STEP_SUMMARY
328-
>>>>>>> origin/master

0 commit comments

Comments
 (0)