Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Use scikit-ci-addons for CiricleCI CMake installation and junit #27

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ dependencies:
- "~/.ExternalData"
override:
- pip install --upgrade pip
- pip install cmake
- pip install scikit-ci-addons
- ci_addons circle/install_cmake.py 3.7.2
- mkdir -p ${CTEST_BINARY_DIRECTORY}
- git clone --single-branch ${CIRCLE_REPOSITORY_URL} -b dashboard ${DASHBOARD_BRANCH_DIRECTORY}
- mkdir -p "${DISTCC_DIR}" && printf -- "--randomize localhost/2 --localslots=2\n" > "${DISTCC_DIR}/hosts" && for ((i=1;i<CIRCLE_NODE_TOTAL;i++)); do printf "ubuntu@node$i/${DISTCC_SLOTS}\n" >> "${DISTCC_DIR}/hosts"; done
Expand All @@ -48,5 +49,7 @@ test:
DASHBOARD_MODEL: $( [[ "$CIRCLE_BRANCH" = "master" ]] && echo Continuous || echo Experimental )
CTEST_CONFIGURATION_TYPE: "Release"
CTEST_BUILD_FLAGS: "-j $(expr $CIRCLE_NODE_TOTAL \\* 2 + 1)"
- mkdir ${CIRCLE_TEST_REPORTS}/CTest
- ci_addons ctest_junit_formatter ${CTEST_BINARY_DIRECTORY} > ${CIRCLE_TEST_REPORTS}/CTest/JUnit-${CIRCLE_NODE_INDEX}.xml
- sar:
parallel: true