Fix OpenROAD CI (#1868)

Co-authored-by: Vitor Bandeira <vvbandeira@precisioninno.com>
This commit is contained in:
Vitor Bandeira
2023-06-20 23:14:52 -07:00
committed by GitHub
parent 6ca12d8eab
commit d7059209bb

29
Jenkinsfile vendored
View File

@@ -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",