forked from purduesigbots/pros-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile
40 lines (40 loc) · 1.32 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
32
33
34
35
36
37
38
39
40
stage('Build') {
parallel (
"linux64": {
node("lin64") {
checkout scm
sh './scripts/install_build_dependencies.sh'
sh 'vex --python python3.6 -mr jenkins ./scripts/build.sh'
archiveArtifacts artifacts: 'out/*', onlyIfSuccessful: true
archiveArtifacts artifacts: '*version', onlyIfSuccessful: true
}
},
"linux86": {
node("lin86") {
checkout scm
sh './scripts/install_build_dependencies.sh'
sh 'vex --python python3.6 -mr jenkins ./scripts/build.sh'
archiveArtifacts artifacts: 'out/*', onlyIfSuccessful: true
archiveArtifacts artifacts: '*version', onlyIfSuccessful: true
}
},
"windows64": {
node("win64") {
checkout scm
powershell '.\\scripts\\install_build_dependencies.ps1'
powershell '.\\scripts\\build.ps1'
archiveArtifacts artifacts: 'out/*', onlyIfSuccessful: true
archiveArtifacts artifacts: '*version', onlyIfSuccessful: true
}
},
"windows86": {
node("win86") {
checkout scm
powershell '.\\scripts\\install_build_dependencies.ps1'
powershell '.\\scripts\\build.ps1'
archiveArtifacts artifacts: 'out/*', onlyIfSuccessful: true
archiveArtifacts artifacts: '*version', onlyIfSuccessful: true
}
}
)
}