Skip to content

Commit cd02751

Browse files
authored
Merge pull request #5548 from mayeut/ppc64le-clang
ci: add build with clang on ppc64le
2 parents 5766adb + 4867c42 commit cd02751

File tree

1 file changed

+21
-6
lines changed

1 file changed

+21
-6
lines changed

Jenkinsfile.pwr

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,31 @@
11
pipeline {
2-
agent {
3-
docker {
4-
image 'osuosl/ubuntu-ppc64le:18.04'
5-
}
6-
}
2+
agent none
73
stages {
8-
stage('Build') {
4+
stage('GCC build') {
5+
agent {
6+
docker {
7+
image 'osuosl/ubuntu-ppc64le:18.04' // gcc 7, gfortran 7
8+
}
9+
}
910
steps {
11+
checkout scm
1012
sh 'sudo apt update'
1113
sh 'sudo apt install gfortran -y'
1214
sh 'make clean && make'
1315
}
1416
}
17+
stage('Clang build') {
18+
agent {
19+
docker {
20+
image 'osuosl/ubuntu-ppc64le:20.04' // clang 10, gfortran 9
21+
}
22+
}
23+
steps {
24+
checkout scm
25+
sh 'sudo apt update'
26+
sh 'sudo apt install -y clang gfortran'
27+
sh 'make clean && make CC=clang'
28+
}
29+
}
1530
}
1631
}

0 commit comments

Comments
 (0)