1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-02-02 17:44:25 +00:00
oot/Jenkinsfile

39 lines
932 B
Text
Raw Normal View History

2020-03-17 01:54:42 -04:00
pipeline {
agent any
stages {
stage('Check for unused asm') {
steps {
sh './tools/find_unused_asm.sh'
}
}
2020-03-17 01:54:42 -04:00
stage('Setup') {
steps {
echo 'Setting up...'
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
2020-04-05 12:18:58 -04:00
sh 'make -j`nproc` setup'
2020-03-17 01:54:42 -04:00
}
}
stage('Build') {
steps {
echo 'Building...'
2020-04-05 12:12:25 -04:00
sh 'make -j`nproc`'
2020-03-17 01:54:42 -04:00
}
}
stage('Report Progress') {
when {
branch 'master'
}
steps {
2020-06-21 17:50:32 -04:00
sh 'python3 progress.py -c >> /var/www/html/reports/progress.csv'
sh 'python3 progress.py -mc >> /var/www/html/reports/progress_matching.csv'
}
}
2020-03-17 01:54:42 -04:00
}
post {
always {
cleanWs()
}
}
}