Browse Source

Merge branch 'starfive' of https://github.com/starfive-tech/freelight-u-sdk into starfive

michael.zhu 3 years ago
parent
commit
cffd6fb737
2 changed files with 22 additions and 0 deletions
  1. 11 0
      Jenkinsfile
  2. 11 0
      build.sh

+ 11 - 0
Jenkinsfile

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

+ 11 - 0
build.sh

@@ -0,0 +1,11 @@
+#!/bin/bash
+
+CORES=$(getconf _NPROCESSORS_ONLN)
+
+make clean || true
+make distclean || true
+
+git submodule sync
+git submodule update --recursive --init
+
+make -j${CORES}