2020-06-13 04:08:59 -05:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
label 'gba'
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Environment') {
|
|
|
|
steps {
|
2021-03-12 01:41:16 -06:00
|
|
|
load 'jenkins/shared/env.gy'
|
2020-08-05 20:24:20 -05:00
|
|
|
sh 'make vcpkg'
|
2020-06-13 04:08:59 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build Tools Debug') {
|
|
|
|
steps {
|
|
|
|
sh 'make purge configure-debug'
|
|
|
|
sh 'make install'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build GBA Debug') {
|
|
|
|
steps {
|
2020-06-13 04:12:51 -05:00
|
|
|
sh 'make configure-gba-debug'
|
2020-06-13 04:08:59 -05:00
|
|
|
sh 'make'
|
2020-06-13 04:12:51 -05:00
|
|
|
sh 'make pkg-gba'
|
2020-06-13 04:08:59 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build Tools Release') {
|
|
|
|
steps {
|
|
|
|
sh 'make purge configure-release'
|
|
|
|
sh 'make install'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Build GBA Release') {
|
|
|
|
steps {
|
2020-06-13 04:12:51 -05:00
|
|
|
sh 'make configure-gba'
|
2020-06-13 04:08:59 -05:00
|
|
|
sh 'make'
|
|
|
|
sh 'make pkg-gba'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-06-13 22:32:34 -05:00
|
|
|
post {
|
|
|
|
always {
|
|
|
|
archiveArtifacts artifacts: 'nostalgia.gba', fingerprint: true
|
|
|
|
}
|
|
|
|
}
|
2020-06-13 04:08:59 -05:00
|
|
|
}
|