TGC-ISS/Jenkinsfile
Eyck-Alexander Jentzsch f8152e8ca5
Some checks failed
Run architectural test suite on backends / Build ISS, Setup TGC-COMPLIANCE, Run tests on backends (push) Failing after 6m10s
sets Conanhome in jenkinsfile
2024-05-22 15:58:39 +02:00

55 lines
1.6 KiB
Groovy

void checkout_project(String repoUrl, String branch = 'develop') {
checkout([
$class: 'GitSCM',
branches: [
[name: "*/${branch}"]
],
extensions: [
[$class: 'CleanBeforeCheckout'],
[$class: 'SubmoduleOption', disableSubmodules: false, parentCredentials: true, recursiveSubmodules: true, reference: '', trackingSubmodules: false]
],
submoduleCfg: [],
userRemoteConfigs: [
[credentialsId: 'gitea-jenkins', url: repoUrl]
]
])
}
pipeline {
agent {
docker {
image 'git.minres.com/tooling/riscof_sail:latest'
environment {
CONAN_USER_HOME = '/var/jenkins_home/workspace/riscof_sail'
}
}
}
stages {
stage("build TGC-ISS"){
steps {
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=OFF -DWITH_TCC=OFF -DWITH_LLVM=OFF'
sh 'cmake --build build -j'
}
}
stage("Checkout TGC-Compliance"){
steps {
checkout_project("https://git.minres.com/TGFS/TGC-COMPLIANCE.git", "master")
}
}
stage("Test backends"){
parallel {
stage("Test interp") {
steps {
sh "mkdir interp"
sh "python3 run_act.py -core TGC5C -sim build/dbt-rise-tgc/tgc-sim -w interp --dockerless --backend interp"
}
}
}
}
}
}