2020-03-17 05:54:42 +00:00
|
|
|
pipeline {
|
|
|
|
agent any
|
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Setup') {
|
|
|
|
steps {
|
|
|
|
echo 'Setting up...'
|
2020-03-28 21:34:57 +00:00
|
|
|
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baserom_original.z64'
|
2020-03-17 05:54:42 +00:00
|
|
|
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*'
|
2020-03-28 21:34:57 +00:00
|
|
|
sh 'make setup'
|
2020-03-17 05:54:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build') {
|
|
|
|
steps {
|
|
|
|
echo 'Building...'
|
2020-04-05 16:12:25 +00:00
|
|
|
sh 'make -j`nproc`'
|
2020-03-17 05:54:42 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
cleanWs()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|