Skip to content

Commit ccbdf09

Browse files
committed
Add environment variables in Jenkinsfile , that invokes yosys.sh for running yosys synthesis
1 parent dc27c41 commit ccbdf09

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

.jenkins/yosys.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

Jenkinsfile

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,20 @@ pipeline {
99
}
1010
}
1111

12-
stage("Yosys synthesis"){
13-
agent {
14-
docker { image 'librecores/librecores-ci:0.3.0' }
15-
}
12+
stage("Yosys synthesis"){
13+
environment {
14+
TOPLEVEL = "mor1kx"
15+
VERSION = "5.0-r3"
16+
}
1617
steps{
17-
sh 'docker run --rm -v $(pwd):/src librecores/librecores-ci:0.4.0 /src/.jenkins/yosys.sh'
18+
sh 'docker run --rm -v $(pwd):/src -e "TOPLEVEL=$TOPLEVEL" -e "VERSION=$VERSION" librecores/librecores-ci-openrisc /yosys-scripts/yosys.sh'
1819
}
1920
}
2021

2122
stage('Performance tests') {
2223
steps {
2324
echo "-=- execute performance tests -=-"
24-
perfReport 'result.csv'
25+
perfReport 'output.csv'
2526
}
2627
}
2728

0 commit comments

Comments
 (0)