2021-03-08 00:45:08 +00:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Copy ROM') {
|
|
|
|
steps {
|
|
|
|
echo 'Setting up ROM...'
|
2021-03-10 02:55:17 +00:00
|
|
|
sh 'cp /usr/local/etc/roms/mm.us.rev1.z64 baserom.z64'
|
2021-03-08 00:45:08 +00:00
|
|
|
}
|
|
|
|
}
|
2021-03-09 22:40:52 +00:00
|
|
|
stage('Build (qemu-irix)') {
|
|
|
|
when {
|
|
|
|
branch 'master'
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'ORIG_COMPILER=1 make -j init'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build (ido-recomp)') {
|
2021-03-08 00:45:08 +00:00
|
|
|
when {
|
|
|
|
not {
|
|
|
|
branch 'master'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
steps {
|
|
|
|
sh 'make -j init'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Report Progress') {
|
|
|
|
when {
|
|
|
|
branch 'master'
|
|
|
|
}
|
|
|
|
steps {
|
2021-03-11 03:38:56 +00:00
|
|
|
sh 'python3 ./tools/progress.py csv >> /var/www/html/reports/progress_mm.us.rev1.csv'
|
|
|
|
sh 'python3 ./tools/progress.py csv -m >> /var/www/html/reports/progress_matching_mm.us.rev1.csv'
|
|
|
|
sh 'python3 ./tools/progress.py shield-json > /var/www/html/reports/progress_shield_mm.us.rev1.json'
|
2021-03-08 00:45:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
cleanWs()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|