-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request LLNL#69 from LLNL/feature/zagaris2/git-macros
feature/zagaris2/git-macros
- Loading branch information
Showing
7 changed files
with
558 additions
and
2 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 |
---|---|---|
|
@@ -106,12 +106,23 @@ install: | |
- sh cmake-${CMAKE_MAJOR}.${CMAKE_MINOR}-Linux-x86_64.sh --skip-license --prefix=${TRAVIS_TPLS_DIR}/cmake/ | ||
- export PATH=${TRAVIS_TPLS_DIR}/cmake/bin:$PATH | ||
script: | ||
# set git user info | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "BLT Robot" | ||
- cmake --version | ||
- cd $TRAVIS_BUILD_DIR/.. | ||
# copy our internal testing project | ||
- cp -r blt/cmake/blt-test . | ||
# symlink blt into this project | ||
- ln -s ${TRAVIS_BUILD_DIR} blt-test/blt | ||
# create a git repo for blt-test to test the git macros | ||
- cd blt-test | ||
- git init | ||
- git add -A | ||
- git commit -a -m "Initial Commit" | ||
- git checkout -b test-branch | ||
- git tag test-tag | ||
- cd .. | ||
# create an out-of-source build dir and an install dir | ||
- mkdir travis-debug-build | ||
- mkdir travis-debug-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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,9 @@ environment: | |
init: | ||
# line endings magic | ||
- git config --global core.autocrlf input | ||
# set git user info | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "BLT Robot" | ||
|
||
before_build: | ||
# remove some noisy warnings from Xamarin | ||
|
@@ -22,6 +25,14 @@ before_build: | |
- ps: cd .. | ||
- cp -r blt\cmake\blt-test . | ||
- cp -r blt blt-test | ||
# create a git repo for blt-test to test the git macros | ||
- cd blt-test | ||
- git init | ||
- git add -A | ||
- git commit -a -m "Initial Commit" | ||
- git checkout -b test-branch | ||
- git tag test-tag | ||
- cd .. | ||
# configure | ||
- echo Running cmake ... | ||
- cmake -Hblt-test -Bbuild -G "%CMAKE_GENERATOR%" -DBUILD_SHARED_LIBS=%BUILD_SHARED_LIBS% -DENABLE_GMOCK=%ENABLE_GMOCK% -DENABLE_BENCHMARKS=%ENABLE_BENCHMARKS% -DENABLE_OPENMP=ON | ||
|
Oops, something went wrong.