.
This commit is contained in:
parent
99e36acbae
commit
5c31d06a58
36
Jenkinsfile
vendored
36
Jenkinsfile
vendored
@ -18,23 +18,27 @@ void checkout_project(String repoUrl, String branch = 'develop') {
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage("Checkout TGC-Compliance and TGC-GEN"){
|
stage("Checkout and build"){
|
||||||
steps {
|
|
||||||
dir("TGC-COMPLIANCE"){
|
|
||||||
checkout_project("https://git.minres.com/TGFS/TGC-COMPLIANCE.git", "master")
|
|
||||||
}
|
|
||||||
dir("TGC-GEN"){
|
|
||||||
checkout_project("https://git.minres.com/TGFS/TGC-GEN.git", "develop")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage("Generate cores and build TGC-ISS"){
|
|
||||||
agent {docker { image 'ubuntu-riscv' }}
|
agent {docker { image 'ubuntu-riscv' }}
|
||||||
steps {
|
stages{
|
||||||
sh 'TGC-GEN/scripts/generate_all.sh -o dbt-rise-tgc'
|
stage("Checkout TGC-Compliance and TGC-GEN"){
|
||||||
sh 'conan profile new default --detect --force'
|
steps {
|
||||||
sh 'cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DWITH_ASMJIT=ON -DWITH_TCC=ON -DWITH_LLVM=ON'
|
dir("TGC-COMPLIANCE"){
|
||||||
sh 'cmake --build build -j'
|
checkout_project("https://git.minres.com/TGFS/TGC-COMPLIANCE.git", "master")
|
||||||
|
}
|
||||||
|
dir("TGC-GEN"){
|
||||||
|
checkout_project("https://git.minres.com/TGFS/TGC-GEN.git", "develop")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
stage("Generate cores and build TGC-ISS"){
|
||||||
|
steps {
|
||||||
|
sh 'TGC-GEN/scripts/generate_all.sh -o dbt-rise-tgc'
|
||||||
|
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("Run test suite") {
|
stage("Run test suite") {
|
||||||
|
Loading…
Reference in New Issue
Block a user