Pārlūkot izejas kodu

add quick ci Jenkinsfile

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
Robert Nelson 3 gadi atpakaļ
vecāks
revīzija
a81f6a28ef
2 mainītis faili ar 20 papildinājumiem un 0 dzēšanām
  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