diff --git a/Jenkinsfile b/Jenkinsfile index 00e79d3..916af43 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,12 +10,12 @@ pipeline { } stages { - stage('Checkout') { - steps { - cleanWs() + stage('Checkout') { + steps { + cleanWs() checkout scm - } } + } stage('BuildAndTest') { matrix { @@ -35,27 +35,27 @@ pipeline { 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=${BUILD_TYPE} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON' + stages { + stage('Configure') { + steps { + sh 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DTILE_BUILD_TESTS=ON -DTILE_BUILD_BENCHMARKS=ON' + } } - } - stage('Build') { - steps { - sh 'cmake --build build --target all -- -j`nproc --ignore=4`' + stage('Build') { + steps { + sh 'cmake --build build --target all -- -j`nproc --ignore=4`' + } } - } - stage('Test') { - steps { - sh 'cd build && ctest --output-on-failure -j `nproc --ignore=4`' + stage('Test') { + steps { + sh 'cd build && ctest --output-on-failure -j `nproc --ignore=4`' + } } - } - stage('Benchmark') { - steps { - sh 'cd build && ./bin/tile_bm_all' + stage('Benchmark') { + steps { + sh 'cd build && ./bin/tile_bm_all' + } } } }