-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jenkinsfile
32 lines (31 loc) · 1.06 KB
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
pipeline {
agent none
stages {
stage('All') {
matrix {
agent {
label "${platform}"
}
axes {
axis {
name 'platform'
values 'ubuntu22.04-x86_64', 'ubuntu20.04-x86_64', 'ubuntu18.04-x86_64', 'raspbian10-armv7l', 'rocky8-x86_64'
}
}
stages {
stage('Build') {
steps {
cmakeBuild buildDir: 'build', cleanBuild: true, installation: 'InSearchPath', buildType: 'Release', cmakeArgs: '-G Ninja'
cmake workingDir: 'build', arguments: '--build . --target package', installation: 'InSearchPath'
}
}
}
post {
always {
archiveArtifacts artifacts: 'build/dehprox-*.deb,build/dehprox-*.rpm'
}
}
}
}
}
}