Browse Source

added macOS build for jenkins

Grant Limberg 8 years ago
parent
commit
5be7374f56
1 changed files with 10 additions and 6 deletions
  1. 10 6
      Jenkinsfile

+ 10 - 6
Jenkinsfile

@@ -2,9 +2,7 @@
 
 parallel 'centos7': {
     node('centos7') {
-    	stage('Checkout Centos 7') {
-            checkout scm
-        }
+        checkout scm
 
 	    stage('Build Centos 7') {
             sh 'make -f make-linux.mk'
@@ -12,12 +10,18 @@ parallel 'centos7': {
     }
 }, 'android-ndk': {
     node('android-ndk') {
-	    stage('Checkout Android NDK') {
-            checkout scm
-        }
+        checkout scm
 	
         stage('Build Android NDK') { 
             sh '/android/android-ndk-r13/ndk-build -C $WORKSPACE/java ZT1=$WORKSPACE'
         }
     }
+}, 'macOS': {
+    node('macOS') {
+        checkout scm
+
+        stage('Build macOS') {
+            sh 'make -f make-mac.mk'
+        }
+    }
 }