2020-06-13 04:08:59 -05:00
|
|
|
pipeline {
|
|
|
|
agent {
|
|
|
|
label 'gba'
|
|
|
|
}
|
|
|
|
environment {
|
2020-06-13 04:24:49 -05:00
|
|
|
DEVKITPRO = '/opt/devkitpro'
|
2020-06-13 04:08:59 -05:00
|
|
|
DEVKITARM = '/opt/devkitpro/devkitARM'
|
|
|
|
}
|
|
|
|
stages {
|
|
|
|
stage('Environment') {
|
|
|
|
steps {
|
|
|
|
sh 'conan profile update settings.compiler.libcxx=libstdc++11 default'
|
|
|
|
sh 'conan remote add -f bincrafters https://api.bintray.com/conan/bincrafters/public-conan'
|
|
|
|
sh 'make conan'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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
|
|
|
}
|