1
0
Fork 0
llvm-premerge-checks/scripts/run_buildkite.bat

27 lines
905 B
Batchfile
Raw Normal View History

rem Copyright 2019 Google LLC
rem
rem Licensed under the the Apache License v2.0 with LLVM Exceptions (the "License");
rem you may not use this file except in compliance with the License.
rem You may obtain a copy of the License at
rem
rem https://llvm.org/LICENSE.txt
rem
rem Unless required by applicable law or agreed to in writing, software
rem distributed under the License is distributed on an "AS IS" BASIS,
rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rem See the License for the specific language governing permissions and
rem limitations under the License.
2019-11-27 13:11:50 +01:00
echo "--- CMake"
2019-11-27 10:01:07 +01:00
call %~dp0\run_cmake.bat
2019-11-27 13:11:50 +01:00
if %errorlevel% neq 0 exit /b %errorlevel%
echo "--- ninja all"
2019-11-27 10:01:07 +01:00
call %~dp0\run_ninja.bat all
2019-11-27 13:11:50 +01:00
if %errorlevel% neq 0 exit /b %errorlevel%
echo "--- ninja check-all"
call %~dp0\run_ninja.bat check-all
if %errorlevel% neq 0 exit /b %errorlevel%
echo "--- done"