mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +00:00
493bdbc3c6
subrepo: subdir: "tools/ZAPD" merged: "4751db5c9" upstream: origin: "https://github.com/zeldaret/ZAPD.git" branch: "master" commit: "4751db5c9" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
47 lines
1.2 KiB
Groovy
47 lines
1.2 KiB
Groovy
pipeline {
|
|
agent {
|
|
label "ZAPD"
|
|
}
|
|
|
|
stages {
|
|
stage('Build ZAPD') {
|
|
steps {
|
|
sh 'make -j'
|
|
}
|
|
}
|
|
stage('Checkout oot') {
|
|
steps {
|
|
dir('oot') {
|
|
git url: 'https://github.com/zeldaret/oot.git'
|
|
}
|
|
}
|
|
}
|
|
stage('Set up oot') {
|
|
steps {
|
|
dir('oot') {
|
|
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
|
|
|
|
// Identical to `make setup` except for copying our newer ZAPD.out into oot
|
|
sh 'git submodule update --init --recursive'
|
|
sh 'make -C tools'
|
|
sh 'cp ../ZAPD.out tools/ZAPD/'
|
|
sh 'python3 fixbaserom.py'
|
|
sh 'python3 extract_baserom.py'
|
|
sh 'python3 extract_assets.py'
|
|
}
|
|
}
|
|
}
|
|
stage('Build oot') {
|
|
steps {
|
|
dir('oot') {
|
|
sh 'make -j'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|