mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 21:09:52 +00:00
54957f8735
* starting point
* add rabbitizer stuff, but commented out
* kinda works now, except for symbols
* trying to fix using symbols for disassembly
* more fixes
* fix branches and some format changes
* make disasm.py runnable again 😅
* fix double words
* hopefully fix jumptables
* fix delay slot spacing on entry.s
* Fix delay slot shenanigans
* minor format update
* re enable multithreading
* add rabbitizer to requirements.txt and cleanup the file
* cleanup
* more cleanup
* more cleanups
* getImmOverride
* black
* hopefully final cleanup
* diff.py requirements
* Install python dependencies on jenkinsfile
* --no-cache
* Remove `--no-cache --upgrade`
* branch_likely_delay_slot_save
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* review
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
* a
* Don't use $FpcCsr
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
121 lines
3.9 KiB
Groovy
121 lines
3.9 KiB
Groovy
pipeline {
|
|
agent {
|
|
label 'mm'
|
|
}
|
|
|
|
options {
|
|
ansiColor('xterm')
|
|
}
|
|
|
|
stages {
|
|
stage('Check formatting') {
|
|
steps {
|
|
echo 'Checking formatting...'
|
|
sh 'bash -c "tools/check_format.sh 2>&1 >(tee tools/check_format.txt)"'
|
|
}
|
|
}
|
|
stage('Check relocs') {
|
|
steps {
|
|
echo 'Checking relocs on spec...'
|
|
sh 'bash -c "tools/reloc_spec_check.sh"'
|
|
}
|
|
}
|
|
stage('Install Python dependencies') {
|
|
steps {
|
|
echo 'Installing Python dependencies'
|
|
sh 'python3 -m pip install -r requirements.txt'
|
|
}
|
|
}
|
|
stage('Copy ROM') {
|
|
steps {
|
|
echo 'Setting up ROM...'
|
|
sh 'cp /usr/local/etc/roms/mm.us.rev1.z64 baserom.mm.us.rev1.z64'
|
|
}
|
|
}
|
|
stage('Setup') {
|
|
steps {
|
|
sh 'bash -c "make -j setup 2> >(tee tools/warnings_count/warnings_setup_new.txt)"'
|
|
}
|
|
}
|
|
stage('Check setup warnings') {
|
|
steps {
|
|
sh 'bash -c "./tools/warnings_count/compare_warnings.sh setup"'
|
|
}
|
|
}
|
|
stage('Assets') {
|
|
steps {
|
|
sh 'bash -c "make -j assets 2> >(tee tools/warnings_count/warnings_assets_new.txt)"'
|
|
}
|
|
}
|
|
stage('Check assets warnings') {
|
|
steps {
|
|
sh 'bash -c "./tools/warnings_count/compare_warnings.sh assets"'
|
|
}
|
|
}
|
|
stage('Disasm') {
|
|
steps {
|
|
sh 'bash -c "make -j disasm 2> >(tee tools/warnings_count/warnings_disasm_new.txt)"'
|
|
}
|
|
}
|
|
stage('Check disasm warnings') {
|
|
steps {
|
|
sh 'bash -c "./tools/warnings_count/compare_warnings.sh disasm"'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
sh 'bash -c "make -j uncompressed 2> >(tee tools/warnings_count/warnings_build_new.txt)"'
|
|
}
|
|
}
|
|
stage('Check build warnings') {
|
|
steps {
|
|
sh 'bash -c "./tools/warnings_count/compare_warnings.sh build"'
|
|
}
|
|
}
|
|
stage('Compress') {
|
|
steps {
|
|
sh 'bash -c "make -j compressed 2> >(tee tools/warnings_count/warnings_compress_new.txt)"'
|
|
}
|
|
}
|
|
stage('Check compress warnings') {
|
|
steps {
|
|
sh 'bash -c "./tools/warnings_count/compare_warnings.sh compress"'
|
|
}
|
|
}
|
|
stage('Report Progress') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
steps {
|
|
sh 'mkdir reports'
|
|
sh 'python3 ./tools/progress.py csv >> reports/progress-mm-nonmatching.csv'
|
|
sh 'python3 ./tools/progress.py csv -m >> reports/progress-mm-matching.csv'
|
|
sh 'python3 ./tools/progress.py shield-json > reports/progress-mm-shield.json'
|
|
stash includes: 'reports/*', name: 'reports'
|
|
}
|
|
}
|
|
stage('Update Progress') {
|
|
when {
|
|
branch 'master'
|
|
}
|
|
agent{
|
|
label 'master'
|
|
}
|
|
steps {
|
|
unstash 'reports'
|
|
sh 'cat reports/progress-mm-nonmatching.csv >> /var/www/zelda64.dev/assets/csv/progress-mm-nonmatching.csv'
|
|
sh 'cat reports/progress-mm-matching.csv >> /var/www/zelda64.dev/assets/csv/progress-mm-matching.csv'
|
|
sh 'cat reports/progress-mm-shield.json > /var/www/zelda64.dev/assets/csv/progress-mm-shield.json'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
failure {
|
|
sh 'cat tools/check_format.txt tools/warnings_count/warnings_setup_new.txt tools/warnings_count/warnings_disasm_new.txt tools/warnings_count/warnings_build_new.txt'
|
|
}
|
|
always {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|