-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy pathJenkinsfile.pwr
More file actions
31 lines (31 loc) · 833 Bytes
/
Jenkinsfile.pwr
File metadata and controls
31 lines (31 loc) · 833 Bytes
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('GCC build') {
agent {
docker {
image 'osuosl/ubuntu-ppc64le:18.04' // gcc 7, gfortran 7
}
}
steps {
checkout scm
sh 'sudo apt update'
sh 'sudo apt install gfortran -y'
sh 'make clean && make'
}
}
stage('Clang build') {
agent {
docker {
image 'osuosl/ubuntu-ppc64le:20.04' // clang 10, gfortran 9
}
}
steps {
checkout scm
sh 'sudo apt update'
sh 'sudo apt install -y clang gfortran'
sh 'make clean && make CC=clang'
}
}
}
}