forked from wlav/cppyy
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install missing dependencies MacOS cppyy jobs (#125)
* Install missing dependencies MacOS cppyy jobs * label failing leak check tests on macOS as xfail * update checking external package for testing --------- Co-authored-by: Vipul Cariappa <[email protected]>
- Loading branch information
1 parent
b337462
commit bf43358
Showing
6 changed files
with
42 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -439,9 +439,15 @@ jobs: | |
brew link --overwrite "$pkg" | ||
done | ||
brew upgrade --force | ||
brew install eigen | ||
brew install boost | ||
brew install gnu-sed | ||
brew install gnu-sed [email protected] boost-python3 eigen psutils | ||
if [[ "$ARCHITECHURE" == "x86_64" ]]; then | ||
CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/local/opt/[email protected]/include" | ||
CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/usr/local/opt/Eigen/include" | ||
else | ||
CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/opt/homebrew/opt/[email protected]/include" | ||
CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:/opt/homebrew/opt/Eigen/include" | ||
fi | ||
echo "CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH" >> $GITHUB_ENV | ||
pip install distro pytest | ||
|
@@ -463,9 +469,9 @@ jobs: | |
if [[ "${cling_on}" == "ON" ]]; then | ||
CLING_DIR="${{ github.workspace }}/cling" | ||
CLING_BUILD_DIR="${{ github.workspace }}/cling/build" | ||
CPLUS_INCLUDE_PATH="${CLING_DIR}/tools/cling/include:${CLING_BUILD_DIR}/include:${LLVM_DIR}/llvm/include:${LLVM_DIR}/clang/include:${LLVM_BUILD_DIR}/include:${LLVM_BUILD_DIR}/tools/clang/include:$PWD/include" | ||
CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:${CLING_DIR}/tools/cling/include:${CLING_BUILD_DIR}/include:${LLVM_DIR}/llvm/include:${LLVM_DIR}/clang/include:${LLVM_BUILD_DIR}/include:${LLVM_BUILD_DIR}/tools/clang/include:$PWD/include" | ||
else | ||
CPLUS_INCLUDE_PATH="${LLVM_DIR}/llvm/include:${LLVM_DIR}/clang/include:${LLVM_BUILD_DIR}/include:${LLVM_BUILD_DIR}/tools/clang/include:$PWD/include" | ||
CPLUS_INCLUDE_PATH="${CPLUS_INCLUDE_PATH}:${LLVM_DIR}/llvm/include:${LLVM_DIR}/clang/include:${LLVM_BUILD_DIR}/include:${LLVM_BUILD_DIR}/tools/clang/include:$PWD/include" | ||
fi | ||
export CB_PYTHON_DIR="${{ github.workspace }}/cppyy-backend/python" | ||
|
@@ -569,6 +575,7 @@ jobs: | |
python -m pip install pytest | ||
python -m pip install pytest-xdist | ||
python -m pip install numba | ||
python -m pip install psutil | ||
echo ::endgroup:: | ||
echo ::group::Run complete test suite | ||
set -o pipefail | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters