This commit is contained in:
Eyck-Alexander Jentzsch 2024-07-11 10:24:49 +02:00
parent 99e36acbae
commit 5c31d06a58
1 changed files with 20 additions and 16 deletions

6
Jenkinsfile vendored
View File

@ -18,6 +18,9 @@ void checkout_project(String repoUrl, String branch = 'develop') {
pipeline { pipeline {
agent any agent any
stages { stages {
stage("Checkout and build"){
agent {docker { image 'ubuntu-riscv' }}
stages{
stage("Checkout TGC-Compliance and TGC-GEN"){ stage("Checkout TGC-Compliance and TGC-GEN"){
steps { steps {
dir("TGC-COMPLIANCE"){ dir("TGC-COMPLIANCE"){
@ -29,7 +32,6 @@ pipeline {
} }
} }
stage("Generate cores and build TGC-ISS"){ stage("Generate cores and build TGC-ISS"){
agent {docker { image 'ubuntu-riscv' }}
steps { steps {
sh 'TGC-GEN/scripts/generate_all.sh -o dbt-rise-tgc' sh 'TGC-GEN/scripts/generate_all.sh -o dbt-rise-tgc'
sh 'conan profile new default --detect --force' sh 'conan profile new default --detect --force'
@ -37,6 +39,8 @@ pipeline {
sh 'cmake --build build -j' sh 'cmake --build build -j'
} }
} }
}
}
stage("Run test suite") { stage("Run test suite") {
agent { agent {
docker { docker {