We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5766adb + 4867c42 commit cd02751Copy full SHA for cd02751
Jenkinsfile.pwr
@@ -1,16 +1,31 @@
1
pipeline {
2
- agent {
3
- docker {
4
- image 'osuosl/ubuntu-ppc64le:18.04'
5
- }
6
+ agent none
7
stages {
8
- stage('Build') {
+ stage('GCC build') {
+ agent {
+ docker {
+ image 'osuosl/ubuntu-ppc64le:18.04' // gcc 7, gfortran 7
+ }
9
10
steps {
11
+ checkout scm
12
sh 'sudo apt update'
13
sh 'sudo apt install gfortran -y'
14
sh 'make clean && make'
15
}
16
17
+ stage('Clang build') {
18
19
20
+ image 'osuosl/ubuntu-ppc64le:20.04' // clang 10, gfortran 9
21
22
23
+ steps {
24
25
+ sh 'sudo apt update'
26
+ sh 'sudo apt install -y clang gfortran'
27
+ sh 'make clean && make CC=clang'
28
29
30
31
0 commit comments