mirror of
https://github.com/The-OpenROAD-Project/OpenLane.git
synced 2026-05-29 00:23:55 +08:00
Fix OpenROAD CI (#1868)
Co-authored-by: Vitor Bandeira <vvbandeira@precisioninno.com>
This commit is contained in:
29
Jenkinsfile
vendored
29
Jenkinsfile
vendored
@@ -22,19 +22,24 @@ pipeline {
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build OpenROAD Docker image with master branch') {
|
||||
steps {
|
||||
sh 'PDK_ROOT=$(pwd)/pdks OPENLANE_IMAGE_NAME=efabless/openlane python3 .github/scripts/update_tools.py openroad_app';
|
||||
sh 'make -C docker build-openroad_app';
|
||||
script { NEW_SHA = sh (returnStdout: true, script: "python3 dependencies/tool.py -f commit openroad_app").trim(); }
|
||||
}
|
||||
}
|
||||
|
||||
stage('Build Docker OpenLane image with openroad_app master') {
|
||||
steps {
|
||||
sh 'make -C docker openlane OPENLANE_IMAGE_NAME=current:latest';
|
||||
sh 'docker save current:latest-amd64 | gzip > openlane-current.tar.gz';
|
||||
stash name: 'data', includes: 'openlane-current.tar.gz';
|
||||
script {
|
||||
retry(3) {
|
||||
try {
|
||||
sh 'PDK_ROOT=$(pwd)/pdks OPENLANE_IMAGE_NAME=efabless/openlane python3 .github/scripts/update_tools.py openroad_app';
|
||||
sh 'make -C docker build-openroad_app';
|
||||
script { NEW_SHA = sh (returnStdout: true, script: "python3 dependencies/tool.py -f commit openroad_app").trim(); }
|
||||
sh 'make -C docker openlane OPENLANE_IMAGE_NAME=current:latest';
|
||||
sh 'docker save current:latest-amd64 | gzip > openlane-current.tar.gz';
|
||||
stash name: 'data', includes: 'openlane-current.tar.gz';
|
||||
}
|
||||
catch (e) {
|
||||
sleep(60);
|
||||
sh 'exit 1';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +52,7 @@ pipeline {
|
||||
"aes_core",
|
||||
"APU",
|
||||
"blabla",
|
||||
"'BM64 -override_env QUIT_ON_VERILATOR_ERRORS=0'",
|
||||
"'BM64 -override_env QUIT_ON_LINTER_ERRORS=0'",
|
||||
"gcd",
|
||||
"inverter",
|
||||
"manual_macro_placement_test",
|
||||
|
||||
Reference in New Issue
Block a user