-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- AppVeyor - Travis-CI
- Loading branch information
Showing
8 changed files
with
59 additions
and
11 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
: ${ALPAKA_CI_CATCH2_ROOT_DIR?"ALPAKA_CI_CATCH2_ROOT_DIR must be specified"} | ||
: ${ALPAKA_CI_CATCH2_BRANCH?"ALPAKA_CI_CATCH2_BRANCH must be specified"} | ||
: ${CMAKE_BUILD_TYPE?"CMAKE_BUILD_TYPE must be specified"} | ||
: ${CXX?"CXX must be specified"} | ||
: ${CC?"CC must be specified"} | ||
: ${ALPAKA_CI_CMAKE_DIR?"ALPAKA_CI_CMAKE_DIR must be specified"} | ||
|
||
# CMake | ||
export PATH=${ALPAKA_CI_CMAKE_DIR}/bin:${PATH} | ||
cmake --version | ||
|
||
CATCH2_SOURCE_DIR=${ALPAKA_CI_CATCH2_ROOT_DIR}/source-catch2/ | ||
|
||
git clone -b "${ALPAKA_CI_CATCH2_BRANCH}" --quiet --recursive --single-branch https://github.com/catchorg/Catch2.git "${CATCH2_SOURCE_DIR}" | ||
(cd "${CATCH2_SOURCE_DIR}"; mkdir -p build; cd build; cmake -DCMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" -DCMAKE_INSTALL_PREFIX="${ALPAKA_CI_CATCH2_ROOT_DIR}" -DBUILD_TESTING=OFF .. && make && make install) |
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