mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
Update Jenkinsfile
This commit is contained in:
parent
2c78b770ea
commit
59ffac5721
255
Jenkinsfile
vendored
255
Jenkinsfile
vendored
@ -1,4 +1,8 @@
|
|||||||
def parallel_stages() {
|
pipeline {
|
||||||
|
agent none
|
||||||
|
stages {
|
||||||
|
stage("Build") {
|
||||||
|
failFast true
|
||||||
parallel {
|
parallel {
|
||||||
stage("Release/SSE") {
|
stage("Release/SSE") {
|
||||||
agent { label "x86" }
|
agent { label "x86" }
|
||||||
@ -190,166 +194,6 @@ def parallel_stages() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Release-ASAN/SSE") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-release-asan-SSE', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=no -DBUILD_AVX512=no -DFAT_RUNTIME=no -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-release-asan-SSE/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Release-ASAN/AVX2") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-release-asan-AVX2', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=yes -DBUILD_AVX512=no -DFAT_RUNTIME=no -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-release-asan-AVX2/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Release-ASAN/AVX512") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-release-asan-AVX512', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=yes -DBUILD_AVX512=yes -DFAT_RUNTIME=no -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-release-asan-AVX512/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Release-ASAN/FAT") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-release-asan-fat', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=yes -DBUILD_AVX512=yes -DFAT_RUNTIME=yes -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-release-asan-fat/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Debug-ASAN/SSE") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-debug-asan-SSE', buildType: 'Debug', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=no -DBUILD_AVX512=no -DFAT_RUNTIME=no -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-debug-asan-SSE/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Debug-ASAN/AVX2") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-debug-asan-AVX2', buildType: 'Debug', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=yes -DBUILD_AVX512=no -DFAT_RUNTIME=no -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-debug-asan-AVX2/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Debug-ASAN/AVX512") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-debug-asan-AVX512', buildType: 'Debug', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=yes -DBUILD_AVX512=yes -DFAT_RUNTIME=no -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-debug-asan-AVX512/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Debug-ASAN/FAT") {
|
|
||||||
agent { label "x86" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-debug-asan-fat', buildType: 'Debug', cleanBuild: true, cmakeArgs: '-DBUILD_AVX2=yes -DBUILD_AVX512=yes -DFAT_RUNTIME=yes -DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-debug-asan-fat/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Release/ARM") {
|
stage("Release/ARM") {
|
||||||
agent { label "arm" }
|
agent { label "arm" }
|
||||||
stages {
|
stages {
|
||||||
@ -400,46 +244,6 @@ def parallel_stages() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Release-ASAN/ARM") {
|
|
||||||
agent { label "arm" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-release-asan-arm', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-release-asan-arm/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Debug-ASAN/ARM") {
|
|
||||||
agent { label "arm" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-debug-asan-arm', buildType: 'Debug', cleanBuild: true, cmakeArgs: '-DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-debug-asan-arm/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Release/Power") {
|
stage("Release/Power") {
|
||||||
agent { label "power" }
|
agent { label "power" }
|
||||||
stages {
|
stages {
|
||||||
@ -490,46 +294,6 @@ def parallel_stages() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Release-ASAN/Power") {
|
|
||||||
agent { label "power" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-release-asan-power', buildType: 'Release', cleanBuild: true, cmakeArgs: '-DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-release-asan-power/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Debug-ASAN/Power") {
|
|
||||||
agent { label "power" }
|
|
||||||
stages {
|
|
||||||
stage("Git checkout") {
|
|
||||||
steps {
|
|
||||||
checkout([$class: 'GitSCM', branches: [[name: '${sha1}']], extensions: [], userRemoteConfigs: [[refspec: '+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*', url: 'https://github.com/VectorCamp/vectorscan.git']]])
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Build") {
|
|
||||||
steps {
|
|
||||||
cmakeBuild buildDir: 'build-debug-asan-power', buildType: 'Debug', cleanBuild: true, cmakeArgs: '-DSANITIZE=undefined -DSANITIZE=address -DSANITIZE=memory', installation: 'InSearchPath', steps: [[args: '--parallel 4', withCmake: true]]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Test") {
|
|
||||||
steps {
|
|
||||||
sh 'build-debug-asan-power/bin/unit-hyperscan'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Clang-Release/SSE") {
|
stage("Clang-Release/SSE") {
|
||||||
agent { label "x86" }
|
agent { label "x86" }
|
||||||
stages {
|
stages {
|
||||||
@ -755,7 +519,7 @@ def parallel_stages() {
|
|||||||
}
|
}
|
||||||
stage("Build") {
|
stage("Build") {
|
||||||
steps {
|
steps {
|
||||||
cmakeBuild buildDir: 'build-clang-debug-arm', buildType: 'Debug', cleanBuild: true, cmakeArgs: '', installation: 'InSearchPath', steps: [[envVars: 'CC=clang CXX=clang++', args: '--parallel 4', withCmake: true]]
|
cmakeBuild buildDir: 'build-debug-arm', buildType: 'Debug', cleanBuild: true, cmakeArgs: '', installation: 'InSearchPath', steps: [[envVars: 'CC=clang CXX=clang++', args: '--parallel 4', withCmake: true]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage("Unit Test") {
|
stage("Unit Test") {
|
||||||
@ -821,13 +585,6 @@ def parallel_stages() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
pipeline {
|
|
||||||
agent none
|
|
||||||
stages {
|
|
||||||
stage("Build") {
|
|
||||||
failFast true
|
|
||||||
parallel_stages()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user