Skip to content

Commit 84a4dfc

Browse files
authored
Update ci.yml
1 parent 1ac0a16 commit 84a4dfc

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -298,40 +298,17 @@ jobs:
298298
run: |
299299
set -e
300300
mkdir -p docs/mnist/mnist/test
301-
echo "Downloading test images..."
302301
wget -q https://github.com/DeepTrackAI/MNIST_dataset/archive/main.zip -O main.zip
303302
unzip -q main.zip
304303
cp MNIST_dataset-main/mnist/test/*.png docs/mnist/mnist/test/
305304
rm -rf main.zip MNIST_dataset-main
306-
echo "Downloaded $(ls docs/mnist/mnist/test | wc -l) images"
307305
308306
- name: Prepare environment
309307
run: |
310-
echo "### Preparing environment ###"
311308
echo "Binary path: ${{ steps.set_eval_binary.outputs.EVAL_BINARY }}"
312-
313309
ls -la "${{ steps.set_eval_binary.outputs.EVAL_BINARY }}"
314310
chmod +x "${{ steps.set_eval_binary.outputs.EVAL_BINARY }}"
315-
316311
export LD_LIBRARY_PATH=$PWD/build/bin/opencv_libs:/usr/lib/x86_64-linux-gnu
317-
echo "Final LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
318-
319-
- name: Verify library integrity
320-
run: |
321-
echo "### Library verification ###"
322-
ls -la build/bin/opencv_libs/ || echo "No opencv_libs directory"
323-
file build/bin/opencv_libs/libopencv_imgcodecs.so* 2>/dev/null | head -1 || echo "No opencv_imgcodecs library found"
324-
325-
- name: Test binary execution
326-
run: |
327-
echo "### Testing binary execution ###"
328-
export LD_LIBRARY_PATH=$PWD/build/bin/opencv_libs:/usr/lib/x86_64-linux-gnu
329-
330-
echo "Binary dependencies:"
331-
ldd "${{ steps.set_eval_binary.outputs.EVAL_BINARY }}" 2>/dev/null || echo "ldd failed"
332-
333-
echo "Testing help command:"
334-
timeout 10s "${{ steps.set_eval_binary.outputs.EVAL_BINARY }}" --help > /dev/null 2>&1 || echo "Help test completed"
335312
336313
- name: Run evaluation
337314
run: |

0 commit comments

Comments
 (0)