1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-11 03:39:59 +00:00
oot/Jenkinsfile

34 lines
750 B
Text
Raw Normal View History

2020-03-17 05:54:42 +00:00
pipeline {
agent any
stages {
stage('Setup') {
steps {
echo 'Setting up...'
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
2020-04-05 16:18:58 +00:00
sh 'make -j`nproc` setup'
2020-03-17 05:54:42 +00:00
}
}
stage('Build') {
steps {
echo 'Building...'
2020-04-05 16:12:25 +00:00
sh 'make -j`nproc`'
2020-03-17 05:54:42 +00:00
}
}
stage('Report Progress') {
when {
branch 'master'
}
steps {
sh 'python3 progress.py -j'
sh 'mv build/progress.json /var/www/html/reports/progress.json'
}
}
2020-03-17 05:54:42 +00:00
}
post {
always {
cleanWs()
}
}
}