1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-29 03:34:07 +00:00
oot/Jenkinsfile
Roman971 f95a5aec68
Various README updates (#671)
* Update README

* Add shields.io badges in the README

* Add a mention about shiftability in README

* Fix shield json command in JenkinsFile

* Improve progress badge formatting

Now it should show the percentage as 51.2% instead of 51.17%, and 100% instead of 100.00%
2021-02-11 07:10:05 -05:00

51 lines
1.3 KiB
Groovy

pipeline {
agent any
stages {
stage('Check for unused asm') {
steps {
sh './tools/find_unused_asm.sh'
}
}
stage('Setup') {
steps {
echo 'Setting up...'
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
sh 'make -j setup'
}
}
stage('Build (qemu-irix)') {
when {
branch 'master'
}
steps {
sh 'ORIG_COMPILER=1 make -j'
}
}
stage('Build') {
when {
not {
branch 'master'
}
}
steps {
sh 'make -j'
}
}
stage('Report Progress') {
when {
branch 'master'
}
steps {
sh 'python3 progress.py csv >> /var/www/html/reports/progress.csv'
sh 'python3 progress.py csv -m >> /var/www/html/reports/progress_matching.csv'
sh 'python3 progress.py shield-json > /var/www/html/reports/progress_shield.json'
}
}
}
post {
always {
cleanWs()
}
}
}