File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 6060 path : svs-cpp-runtime-bindings.tar.gz
6161 retention-days : 7 # Reduce retention due to size
6262
63+ - name : Run unit tests in Docker container
64+ continue-on-error : true # Don't fail the job if tests fail
65+ run : |
66+ docker run --rm \
67+ -v ${{ github.workspace }}:/workspace \
68+ -w /workspace \
69+ svs-manylinux228:latest \
70+ /bin/bash -c "source /etc/bashrc || true && ctest --test-dir bindings/cpp/build_cpp_bindings/tests --output-on-failure --verbose"
71+
6372 test :
6473 needs : build-cpp-runtime-bindings
6574 runs-on : ubuntu-22.04
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ mkdir -p /workspace/bindings/cpp/build_cpp_bindings /workspace/install_cpp_bindi
2424
2525# Build and install runtime bindings library
2626cd /workspace/bindings/cpp/build_cpp_bindings
27- CC=gcc CXX=g++ cmake .. -DCMAKE_INSTALL_PREFIX=/workspace/install_cpp_bindings -DCMAKE_INSTALL_LIBDIR=lib
27+ CC=gcc CXX=g++ cmake .. -DSVS_BUILD_RUNTIME_TESTS=ON - DCMAKE_INSTALL_PREFIX=/workspace/install_cpp_bindings -DCMAKE_INSTALL_LIBDIR=lib
2828cmake --build . -j
2929cmake --install .
3030
You can’t perform that action at this time.
0 commit comments