another test run
This commit is contained in:
parent
78d6dd6d2a
commit
43299bb04b
2 changed files with 11 additions and 3 deletions
12
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
12
Jenkins/master-windows-pipeline/Jenkinsfile
vendored
|
@ -25,8 +25,16 @@ pipeline {
|
||||||
stages {
|
stages {
|
||||||
stage("git checkout"){
|
stage("git checkout"){
|
||||||
steps {
|
steps {
|
||||||
git url: 'https://github.com/llvm/llvm-project.git'
|
// test to see if this is faster then Jenkins own git command...
|
||||||
powershell 'git clean -fdx'
|
powershell """
|
||||||
|
if (Test-Path .git -PathType Container) {
|
||||||
|
git clean -fdx
|
||||||
|
git pull
|
||||||
|
#TODO: in case of errors: delete the folder and `git clone`
|
||||||
|
} else {
|
||||||
|
git clone --depth=1 https://github.com/llvm/llvm-project
|
||||||
|
}
|
||||||
|
"""
|
||||||
powershell 'New-Item -ItemType Directory -Force -Path llvm-premerge-checks'
|
powershell 'New-Item -ItemType Directory -Force -Path llvm-premerge-checks'
|
||||||
powershell 'New-Item -ItemType Directory -Force -Path ${TARGET_DIR}'
|
powershell 'New-Item -ItemType Directory -Force -Path ${TARGET_DIR}'
|
||||||
dir("llvm-premerge-checks")
|
dir("llvm-premerge-checks")
|
||||||
|
|
|
@ -21,7 +21,7 @@ Push-Location build
|
||||||
Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64
|
Invoke-CmdScript "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64
|
||||||
|
|
||||||
Invoke-Call -ScriptBlock {
|
Invoke-Call -ScriptBlock {
|
||||||
cmake.exe ..\llvm -G Ninja -DCMAKE_BUILD_TYPE=Release -D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -D LLVM_ENABLE_ASSERTIONS=ON -DLLVM_LIT_ARGS="-v --xunit-xml-output test-results.xml" -D LLVM_ENABLE_DIA_SDK=OFF
|
cmake.exe ..\llvm -G Ninja -DCMAKE_BUILD_TYPE=Release -D LLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -D LLVM_ENABLE_ASSERTIONS=ON -DLLVM_LIT_ARGS="-v --xunit-xml-output test-results.xml" -D LLVM_ENABLE_DIA_SDK=OFF --trace
|
||||||
} -ErrorAction Stop
|
} -ErrorAction Stop
|
||||||
|
|
||||||
# LLVM_ENABLE_DIA_SDK=OFF is a workaround to make the tests pass.
|
# LLVM_ENABLE_DIA_SDK=OFF is a workaround to make the tests pass.
|
||||||
|
|
Loading…
Reference in a new issue