imx8: skeletton for enet driver
[barrelfish] / .gitlab-ci.yml
index 230466e..5fa7e52 100644 (file)
@@ -23,6 +23,13 @@ commithook-signedoff:
   script:
     - "! git log  --since='2018-01-01' --invert-grep --grep='Signed-off-by' 
         | tee 'commits_not_signed.txt' | grep 'commit' -A 5"
+
+commithook-merged:
+  stage: commithooks
+  image: achreto/barrelfish-ci
+  script:
+    - "! grep -r '^<<<<<<< '"
+
     
 ##############################################################################
 
@@ -44,37 +51,43 @@ hake-files:
 build-x86:
   stage: build
   image: achreto/barrelfish-ci
-  # artifacts:
-  #   paths:
-  #     - build-x86
-  #   when: on_success
+  artifacts:
+    paths:
+      - build-x86.log
+    when: on_failure
   script:
     - "mkdir build-x86; 
-       (cd build-x86 && ../hake/hake.sh -s ../ -a x86_64 && make X86_64_Basic)"
+       (cd build-x86 && ../hake/hake.sh -s ../ -a x86_64 && make X86_64_Basic -j4 > ../build.log);
+       rm -rf build-x86"
 
 
 build-armv7:
   stage: build
   image: achreto/barrelfish-ci
-  # artifacts:
-  #   paths:
-  #     - build-x86
-  #   when: on_success
+  artifacts:
+    paths:
+      - build-armv7.log
+    when: on_failure
   script:
     - "mkdir build-armv7; 
-       (cd build-armv7 && ../hake/hake.sh -s ../ -a armv7 && make ARMV7_Basic)"
+       (cd build-armv7 && ../hake/hake.sh -s ../ -a armv7 && make ARMV7_Basic -j4 > ../build-armv7.log);
+       rm -rf build-armv7"
 
 
 build-armv8:
   stage: build
   image: achreto/barrelfish-ci
-  # artifacts:
-  #   paths:
-  #     - build-x86
-  #   when: on_success
+  artifacts:
+    paths:
+      - build-armv8.log
+    when: on_failure
   script:
     - "mkdir build-armv8; 
-       (cd build-armv8 && ../hake/hake.sh -s ../ -a armv8 && make ARMV8_Basic)"           
+       (cd build-armv8 && ../hake/hake.sh -s ../ -a armv8 && make ARMV8_Basic -j4  > ../build-armv8.log);
+       rm -rf build-armv8;"
+
+
+##############################################################################
 
 # x86:build:
 #   stage: build