wip: ci
dustin/mqttmarionette/pipeline/head Something is wrong with the build of this commit
Details
dustin/mqttmarionette/pipeline/head Something is wrong with the build of this commit
Details
parent
4156a10685
commit
0712f1fad4
|
@ -0,0 +1,60 @@
|
||||||
|
// vim: set sw=4 ts=4 sts=4 et :
|
||||||
|
pipeline {
|
||||||
|
agent none
|
||||||
|
|
||||||
|
stages {
|
||||||
|
stage('Build') {
|
||||||
|
parallel {
|
||||||
|
stage('Build x86_64') {
|
||||||
|
when {
|
||||||
|
expression {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
agent {
|
||||||
|
kubernetes {
|
||||||
|
containerTemplate {
|
||||||
|
name 'build'
|
||||||
|
image 'git.pyrocufflink.net/containerimages/build/browserhud'
|
||||||
|
}
|
||||||
|
nodeSelector 'kubernetes.io/arch=amd64'
|
||||||
|
defaultContainer 'build'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'cargo build --release'
|
||||||
|
sh 'ln -sr target/release $(uname -m)'
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
archiveArtifacts 'x86_64/mqttmarionette'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
stage('Build aarch64') {
|
||||||
|
agent {
|
||||||
|
kubernetes {
|
||||||
|
containerTemplate {
|
||||||
|
name 'build'
|
||||||
|
image 'git.pyrocufflink.net/containerimages/build/browserhud'
|
||||||
|
}
|
||||||
|
nodeSelector 'kubernetes.io/arch=arm64'
|
||||||
|
defaultContainer 'build'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
steps {
|
||||||
|
sh 'cargo build --release'
|
||||||
|
sh 'ln -sr target/release $(uname -m)'
|
||||||
|
}
|
||||||
|
post {
|
||||||
|
success {
|
||||||
|
archiveArtifacts 'aarch64/mqttmarionette'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue