Clean build directories before CMake
This commit is contained in:
Vendored
+5
-1
@@ -6,6 +6,7 @@ pipeline {
|
||||
agent { label 'linux' }
|
||||
steps {
|
||||
sh '''
|
||||
rm -rf build/linux
|
||||
cmake -S . -B build/linux -G Ninja -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build/linux
|
||||
'''
|
||||
@@ -18,11 +19,14 @@ stage('Check Windows Agent') {
|
||||
bat '''
|
||||
echo Windows agent works
|
||||
hostname
|
||||
where cl
|
||||
where cmake
|
||||
where ninja
|
||||
where git
|
||||
java -version
|
||||
|
||||
call "C:\\Program Files\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat"
|
||||
where cl
|
||||
cl
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user