Browse Source

add quick ci Jenkinsfile

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Robert Nelson 3 years ago
parent
commit
36d08a3f24
2 changed files with 20 additions and 0 deletions
  1. 11 0
      Jenkinsfile
  2. 9 0
      build.sh

+ 11 - 0
Jenkinsfile

@@ -0,0 +1,11 @@
+pipeline {
+    agent { label 'amd64'}
+
+    stages {
+        stage('Build') {
+            steps {
+                sh '/bin/bash ./build.sh'
+            }
+        }
+    }
+}

+ 9 - 0
build.sh

@@ -0,0 +1,9 @@
+#!/bin/bash
+
+make clean || true
+make distclean || true
+
+git submodule sync
+git submodule update --recursive --init
+
+make -j4