summaryrefslogtreecommitdiff
path: root/Jenkinsfile
blob: 4196d42ca269d28761903420a41f777279a30f40 (plain)
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
#!/usr/bin/env groovy

parallel 'centos7': {
    node('centos7') {
        checkout scm

	    stage('Build Centos 7') {
            sh 'make -f make-linux.mk'
        }
    }
}, 'android-ndk': {
    node('android-ndk') {
        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'
        }

        stage('Build macOS UI') {
            dir('$WORKSPACE/macui') {
                sh 'xcodebuild -scheme "ZeroTier One" -configuration Debug'
            }
        }
    }
}