mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-13 02:10:57 +00:00
Check formatting in CI
This commit is contained in:
parent
795f7e5251
commit
7ecf07b093
2 changed files with 32 additions and 0 deletions
9
Jenkinsfile
vendored
9
Jenkinsfile
vendored
|
@ -4,6 +4,12 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
stage('Check formatting') {
|
||||
steps {
|
||||
echo 'Checking formatting...'
|
||||
sh 'bash -c "tools/check_format.sh 2>&1 >(tee tools/check_format.txt)"'
|
||||
}
|
||||
}
|
||||
stage('Setup') {
|
||||
steps {
|
||||
sh 'cp /usr/local/etc/roms/baserom_oot.z64 baseroms/gc-eu-mq-dbg/baserom.z64'
|
||||
|
@ -56,6 +62,9 @@ pipeline {
|
|||
}
|
||||
}
|
||||
post {
|
||||
failure {
|
||||
sh 'cat tools/check_format.txt'
|
||||
}
|
||||
always {
|
||||
echo "Finished, deleting directory."
|
||||
deleteDir()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue