mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
22d79e5e95
* CSV Progress (2) * Git time
33 lines
800 B
Groovy
33 lines
800 B
Groovy
pipeline {
|
|
agent any
|
|
|
|
stages {
|
|
stage('Setup') {
|
|
steps {
|
|
echo 'Setting up...'
|
|
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
|
|
sh 'make -j`nproc` setup'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building...'
|
|
sh 'make -j`nproc`'
|
|
}
|
|
}
|
|
stage('Report Progress') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
steps {
|
|
sh 'python3 progress.py -c >> /var/www/html/reports/progress.csv'
|
|
sh 'python3 progress.py -mc >> /var/www/html/reports/progress_matching.csv'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|