Skip to content

Commit 3adb5cc

Browse files
author
Kiriti
committed
Merge master into fix-ci-opencv
2 parents 1e9299a + 76f3f64 commit 3adb5cc

705 files changed

Lines changed: 11364 additions & 33 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/openvx-conformance.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,13 @@ jobs:
5050
cmake \
5151
ninja-build \
5252
libgtest-dev \
53+
<<<<<<< HEAD
5354
libjpeg-dev \
5455
libpng-dev \
5556
libtiff-dev \
57+
=======
58+
libopencv-dev \
59+
>>>>>>> origin/master
5660
python3 \
5761
python3-pip
5862

@@ -63,6 +67,7 @@ jobs:
6367
rustc --version
6468
cargo --version
6569
70+
<<<<<<< HEAD
6671
- name: Cache Cargo registry
6772
uses: actions/cache@v4
6873
with:
@@ -97,6 +102,8 @@ jobs:
97102
${{ runner.os }}-cts-build-${{ hashFiles('OpenVX-cts/CMakeLists.txt') }}-
98103
${{ runner.os }}-cts-build-
99104
105+
=======
106+
>>>>>>> origin/master
100107
- name: Build rustVX
101108
run: |
102109
source $HOME/.cargo/env
@@ -132,6 +139,7 @@ jobs:
132139
cp -r ../include/* include/ 2>/dev/null || true
133140
fi
134141
142+
<<<<<<< HEAD
135143
# Ensure clean build directory if CMake configuration changed
136144
if [ -f "build/CMakeCache.txt" ]; then
137145
echo "Using cached CTS build"
@@ -141,6 +149,9 @@ jobs:
141149
mkdir -p build
142150
fi
143151

152+
=======
153+
mkdir -p build
154+
>>>>>>> origin/master
144155
cd build
145156

146157
# Configure with verbose output and proper include paths
@@ -152,8 +163,11 @@ jobs:
152163
-DOPENVX_INCLUDES="${{ github.workspace }}/include;${{ github.workspace }}/OpenVX-cts/include" \
153164
-DOPENVX_LIBRARIES="${{ github.workspace }}/target/release/libopenvx_core.so;${{ github.workspace }}/target/release/libopenvx_ffi.so;m" \
154165
-DOPENVX_CONFORMANCE_VISION=ON \
166+
<<<<<<< HEAD
155167
-DOPENVX_CONFORMANCE_NEURAL_NETWORKS=OFF \
156168
-DOPENVX_CONFORMANCE_OTHER=OFF \
169+
=======
170+
>>>>>>> origin/master
157171
2>&1 || {
158172
echo "CMAKE FAILED!"
159173
echo "CMake output:"
@@ -208,8 +222,13 @@ jobs:
208222
# Create output directory for results
209223
mkdir -p ${{ github.workspace }}/test-results
210224
225+
<<<<<<< HEAD
211226
# Run full vision conformance tests
212227
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
213232

214233
echo "Test execution completed."
215234

@@ -235,18 +254,25 @@ jobs:
235254
FAIL_COUNT=$(grep -c "\[ !FAILED! \]" "$OUTPUT_FILE" 2>/dev/null || echo "0")
236255
echo "Tests failed: $FAIL_COUNT"
237256
257+
<<<<<<< HEAD
238258
# Count skipped tests
239259
SKIP_COUNT=$(grep -c "\[ SKIP \]" "$OUTPUT_FILE" 2>/dev/null || echo "0")
240260
echo "Tests skipped: $SKIP_COUNT"
241261

262+
=======
263+
>>>>>>> origin/master
242264
# Extract test summary
243265
echo "========================================" | tee ${{ github.workspace }}/test-results/summary.txt
244266
echo "Vision Conformance Test Summary" | tee -a ${{ github.workspace }}/test-results/summary.txt
245267
echo "========================================" | tee -a ${{ github.workspace }}/test-results/summary.txt
246268
echo "Passed: $PASS_COUNT" | tee -a ${{ github.workspace }}/test-results/summary.txt
247269
echo "Failed: $FAIL_COUNT" | tee -a ${{ github.workspace }}/test-results/summary.txt
270+
<<<<<<< HEAD
248271
echo "Skipped: $SKIP_COUNT" | tee -a ${{ github.workspace }}/test-results/summary.txt
249272
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
250276

251277
if [ "$FAIL_COUNT" -eq 0 ] && [ "$PASS_COUNT" -gt 0 ]; then
252278
echo "Status: ✅ ALL TESTS PASSED" | tee -a ${{ github.workspace }}/test-results/summary.txt
@@ -259,7 +285,10 @@ jobs:
259285
# Set outputs for GitHub Actions summary
260286
echo "pass_count=$PASS_COUNT" >> $GITHUB_OUTPUT
261287
echo "fail_count=$FAIL_COUNT" >> $GITHUB_OUTPUT
288+
<<<<<<< HEAD
262289
echo "skip_count=$SKIP_COUNT" >> $GITHUB_OUTPUT
290+
=======
291+
>>>>>>> origin/master
263292

264293
- name: Upload test results
265294
uses: actions/upload-artifact@v4
@@ -285,8 +314,15 @@ jobs:
285314
source $HOME/.cargo/env
286315
echo "- **Rust Version:** $(rustc --version)" >> $GITHUB_STEP_SUMMARY
287316
echo "- **Build Type:** Release" >> $GITHUB_STEP_SUMMARY
317+
<<<<<<< HEAD
288318
echo "- **CTS Build:** OpenVX Conformance Test Suite (Vision Only)" >> $GITHUB_STEP_SUMMARY
289319
echo "- **Test Suite:** Full Vision Conformance (~6000 tests)" >> $GITHUB_STEP_SUMMARY
290320

291321
echo "" >> $GITHUB_STEP_SUMMARY
292322
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

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "OpenVX-cts"]
2+
path = OpenVX-cts
3+
url = https://github.com/KhronosGroup/OpenVX-cts.git

0 commit comments

Comments
 (0)