1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-22 10:22:52 +01:00

ci: echo APPVEYOR_REPO_COMMIT and COMMIT_HASH + do not exit on mismatch

This commit is contained in:
Anonymous Maarten 2018-06-23 05:11:55 +02:00 committed by Daniel Evans
parent 24b47a53f3
commit cdef8b935e

View File

@ -40,7 +40,8 @@ init:
install:
- cd "%APPVEYOR_BUILD_FOLDER%"
- for /f %%i in ('git rev-parse HEAD') do set COMMIT_HASH=%%i
- if NOT "%APPVEYOR_REPO_COMMIT%" == "%COMMIT_HASH%" echo "Appveyor hash does not match checkout out hash" && exit 1
- echo APPVEYOR_REPO_COMMIT=%APPVEYOR_REPO_COMMIT%, COMMIT_HASH=%COMMIT_HASH%
- if NOT "%APPVEYOR_REPO_COMMIT%" == "%COMMIT_HASH%" echo "Appveyor git hash does not match git checkout hash"
build_script:
- ctest -VV -S "%APPVEYOR_BUILD_FOLDER%/cmake/ctest/script_ci.ctest"