Skip to content

Commit

Permalink
Speed up ci by removing CppInterOp tests and Valgrind check for CppIn…
Browse files Browse the repository at this point in the history
…terOp
  • Loading branch information
mcbarton authored May 7, 2024
1 parent 3e8f03e commit c4ca20b
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -581,12 +581,7 @@ jobs:
../
fi
os="${{ matrix.os }}"
cmake --build . --target check-cppinterop --parallel ${{ env.ncpus }}
cppyy_on=$(echo "${{ matrix.cppyy }}" | tr '[:lower:]' '[:upper:]')
if [[ ("${cppyy_on}" != "ON") && ("${os}" == "ubuntu"*) ]]; then
# TODO: Remove "|| true" when fix memory issues in LLVM/Clang 17
valgrind --track-origins=yes --error-exitcode=1 unittests/CppInterOp/CppInterOpTests 2>&1 >/dev/null || true
fi
cmake --build . --target build --parallel ${{ env.ncpus }}
cd ../..
# We need CB_PYTHON_DIR later
echo "CB_PYTHON_DIR=$CB_PYTHON_DIR" >> $GITHUB_ENV
Expand Down Expand Up @@ -663,7 +658,7 @@ jobs:
-DLLVM_DIR="$env:LLVM_BUILD_DIR\lib\cmake\llvm" `
-DClang_DIR="$env:LLVM_BUILD_DIR\lib\cmake\clang" -DCMAKE_INSTALL_PREFIX="$env:CPPINTEROP_DIR" ..\
}
cmake --build . --config ${{ env.BUILD_TYPE }} --target check-cppinterop --parallel ${{ env.ncpus }}
cmake --build . --config ${{ env.BUILD_TYPE }} --target build --parallel ${{ env.ncpus }}
cd ..\..
- name: Build and Install cppyy-backend on Unix Systems
Expand Down

0 comments on commit c4ca20b

Please sign in to comment.