mirror of
https://github.com/n64decomp/mk64.git
synced 2024-11-23 13:20:06 +00:00
29 lines
668 B
Groovy
29 lines
668 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('Build Tools') {
|
|
steps {
|
|
sh 'make -j4 -C tools/'
|
|
}
|
|
}
|
|
stage('Extract Assets') {
|
|
steps {
|
|
sh 'ln -s "$ROMS_DIR/Mario Kart 64 (U) [!].z64" baserom.us.z64'
|
|
// verify no assets were committed to repo
|
|
sh '[ -z "$(find {actors,levels,textures}/ -name \'*.png\')" ]'
|
|
sh '[ -z "$(find bin/ -name \'*.m64\' -or \'*.bin\')" ]'
|
|
sh './extract_assets.py us'
|
|
}
|
|
}
|
|
stage('Build U Source') {
|
|
steps {
|
|
sh 'make -j4 VERSION=us'
|
|
}
|
|
}
|
|
}
|
|
environment {
|
|
QEMU_IRIX = credentials('qemu-irix')
|
|
ROMS_DIR = credentials('roms')
|
|
}
|
|
}
|