different agents for different stages

This commit is contained in:
Eyck-Alexander Jentzsch 2024-07-11 10:14:46 +02:00
parent c99a7982b7
commit 21ca5aee7a

22
Jenkinsfile vendored
View File

@ -16,12 +16,6 @@ void checkout_project(String repoUrl, String branch = 'develop') {
}
pipeline {
agent {
docker {
image 'git.minres.com/tooling/riscof_sail:latest'
args '-e CONAN_USER_HOME=/var/jenkins_home/workspace/riscof_sail'
}
}
stages {
stage("Checkout TGC-Compliance and TGC-GEN"){
steps {
@ -33,19 +27,23 @@ pipeline {
}
}
}
stage("generate cores "){
stage("generate cores and build TGC-ISS"){
agent {docker { image 'ubuntu-riscv' }}
steps {
sh 'TGC-GEN/scripts/generate_all.sh -o dbt-rise-tgc'
}
}
stage("build TGC-ISS"){
steps {
sh 'conan profile new default --detect --force'
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=ON'
sh 'cmake --build build -j'
}
}
stage{
agent {
docker {
image 'git.minres.com/tooling/riscof_sail:latest'
args ' -e CONAN_USER_HOME=/var/jenkins_home/workspace/riscof_sail'
}
}
stages {
stage('ACT 32bit') {
matrix {
axes {
@ -92,3 +90,5 @@ pipeline {
}
}
}
}
}