feat update Jenkinsfile
This commit is contained in:
parent
966948c66b
commit
06d1042adb
25
Jenkinsfile
vendored
25
Jenkinsfile
vendored
@ -17,9 +17,30 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('BuildAndTest') {
|
||||
matrix {
|
||||
agent {
|
||||
docker {
|
||||
image 'art.uocat.com/tqcq/cross:v1.0.1'
|
||||
}
|
||||
}
|
||||
axes {
|
||||
axis {
|
||||
name 'BUILD_TYPE'
|
||||
values 'Debug', 'Release'
|
||||
}
|
||||
|
||||
axis {
|
||||
name 'TOOLCHAIN'
|
||||
values 'aarch64-linux-gnu', 'arm-linux-gnueabihf', 'arm-linux-gnueabi', 'host.gcc-m32', 'mips64el-linux-gnuabi64', 'mips-linux-gnu', 'riscv64-linux-gnu'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Configure') {
|
||||
steps {
|
||||
sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Debug -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON'
|
||||
sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON'
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
@ -39,4 +60,6 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user