6 sh 'make -j4 -C tools/'
9 stage('Extract Assets') {
11 sh 'ln -s "$ROMS_DIR/Super Mario 64 (J) [!].z64" baserom.jp.z64'
12 sh 'ln -s "$ROMS_DIR/Super Mario 64 (U) [!].z64" baserom.us.z64'
13 sh 'ln -s "$ROMS_DIR/Super Mario 64 (E) (M3) [!].z64" baserom.eu.z64'
14 // verify no assets were committed to repo
15 sh '[ -z "$(find {actors,levels,textures}/ -name \'*.png\')" ]'
16 sh '[ -z "$(find assets/ -name \'*.m64\' -or \'*.bin\')" ]'
17 sh './extract_assets.py jp us eu'
20 stage('Build U Source') {
22 sh 'make -j4 VERSION=us'
25 stage('Build E Source') {
27 sh 'make -j4 VERSION=eu'
30 stage('Build J Source') {
32 sh 'make -j4 VERSION=jp'
35 stage('Test Enhancements') {
39 for f in enhancements/*.patch
43 echo 'y' | tools/apply_patch.sh "$f"
44 make -j4 VERSION=us COMPARE=0
51 QEMU_IRIX = credentials('qemu-irix')
52 ROMS_DIR = credentials('roms')