mirror of
https://github.com/zeldaret/af.git
synced 2026-10-07 09:27:16 -04:00
78b87b21fb
* Jenkinsfile * Fix format path * I have the stupid * Change CC_CHECK to gcc * Update Makefile Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> --------- Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
54 lines
1.2 KiB
Groovy
54 lines
1.2 KiB
Groovy
pipeline {
|
|
agent {
|
|
label 'af'
|
|
}
|
|
|
|
options {
|
|
ansiColor('xterm')
|
|
}
|
|
|
|
stages {
|
|
stage('Check formatting') {
|
|
steps {
|
|
echo 'Checking formatting...'
|
|
sh 'bash -c "tools/check_format.sh 2>&1 >(tee tools/check_format.txt)"'
|
|
}
|
|
}
|
|
stage('Install Python dependencies') {
|
|
steps {
|
|
echo 'Installing Python dependencies'
|
|
sh 'python3 -m pip install -r requirements.txt -U'
|
|
}
|
|
}
|
|
stage('Copy ROM') {
|
|
steps {
|
|
echo 'Setting up ROM...'
|
|
sh 'cp /usr/local/etc/roms/af.jp.z64 baserom.jp.z64'
|
|
}
|
|
}
|
|
stage('Setup') {
|
|
steps {
|
|
sh 'bash -c "make -j setup"'
|
|
}
|
|
}
|
|
stage('Extract') {
|
|
steps {
|
|
sh 'bash -c "make -j extract"'
|
|
}
|
|
}
|
|
stage('Build') {
|
|
steps {
|
|
sh 'bash -c "make -j uncompressed"'
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
failure {
|
|
sh 'cat tools/check_format.txt'
|
|
}
|
|
always {
|
|
cleanWs()
|
|
}
|
|
}
|
|
}
|