electron/Jenkinsfile.arm64

37 lines
626 B
Text
Raw Normal View History

2018-02-27 17:08:27 +00:00
pipeline {
agent {
docker {
2018-03-19 14:19:32 +00:00
image 'electronbuilds/arm64v8:0.0.2'
2018-02-27 17:08:27 +00:00
args '--privileged'
}
}
environment {
TARGET_ARCH='arm64'
DISPLAY=':99.0'
2018-03-19 14:19:32 +00:00
MOCHA_TIMEOUT='60000'
2018-02-27 17:08:27 +00:00
}
stages {
stage('Bootstrap') {
steps {
sh 'script/bootstrap.py -v --dev --target_arch=$TARGET_ARCH'
}
}
stage('Build') {
steps {
sh 'script/build.py -c D --ninja-path /usr/local/ninja/ninja'
}
}
stage('Test') {
steps {
sh '/etc/init.d/xvfb start'
sh 'script/test.py --ci'
}
}
}
post {
always {
cleanWs()
}
}
}