mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-29 03:34:07 +00:00
27 lines
671 B
Groovy
27 lines
671 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 'git submodule update --init --recursive'
|
|
sh 'cp -r /usr/local/etc/ido/ido7.1_compiler tools/ido7.1_compiler'
|
|
sh 'chmod +x -R tools/ido*'
|
|
sh 'make -j`nproc` setup'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
echo 'Building...'
|
|
sh 'make -j`nproc`'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|