Jenkins & decomp.yaml (#64)

This commit is contained in:
Ethan Roseman 2024-11-04 22:28:24 +09:00 committed by GitHub
parent 5112c74546
commit bc62f9f9e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 79 additions and 0 deletions

42
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,42 @@
pipeline {
agent {
label 'kh1'
}
stages {
stage('Setup') {
steps {
sh 'cp /usr/local/etc/roms/SLPS_251.98 .'
sh 'cp /usr/local/etc/roms/SLPS_251.05 .'
sh 'pip install -U -r requirements.txt --break-system-packages'
}
}
stage('Build JP') {
steps {
sh './configure.py -v jp'
sh 'ninja'
}
}
stage('Build Final Mix') {
steps {
sh './configure.py -v fm'
sh 'ninja'
}
}
// stage('Report Progress') {
// when {
// branch 'main'
// }
// steps {
// withCredentials([string(credentialsId: 'pokemonsnap_frogress', variable: 'frogress_key')]) {
// sh 'python3 tools/progress.py --frogress $frogress_key'
// }
// }
// }
}
post {
always {
cleanWs()
}
}
}

37
decomp.yaml Normal file
View File

@ -0,0 +1,37 @@
name: Kingdom Hearts
github: https://github.com/ethteck/kh1
platform: ps2
versions:
- name: jp
fullname: Kingdom Hearts (Japan)
sha1: 9dabbf867a7ec2a030df99ba1ed969f2deef0488
paths:
baserom: "SLPS_251.05"
build: "build/SLPS_251.05"
asm: "asm"
nonmatchings: "asm/nonmatchings"
map: "build/SLPS_251.05.map"
elf: "build/SLPS_251.05.elf"
- name: fm
fullname: Kingdom Hearts (Final Mix)
sha1: e70bda789916142aafb53d85cef2e806b35ad8d8
paths:
baserom: "SLPS_251.98"
build: "build/SLPS_251.98"
asm: "asm"
nonmatchings: "asm/nonmatchings"
map: "build/SLPS_251.98.map"
elf: "build/SLPS_251.98.elf"
tools:
decompme:
preset: 108
permuter:
decompme_compilers:
tools/cc/ee-gcc2.96/bin: ee-gcc2.96
frogress:
project: kh1
versions:
jp:
version: jp
fm:
version: fm