1########################################################################## 2# Copyright (c) 2018 ETH Zurich. 3# All rights reserved. 4# 5# This file is distributed under the terms in the attached LICENSE file. 6# If you do not find this file, copies can be found by writing to: 7# ETH Zurich D-INFK, CAB F.78, Universitaetstr. 6, CH-8092 Zurich, 8# Attn: Systems Group. 9########################################################################## 10 11stages: 12 - commithooks 13 - hake 14 - build 15 # - tests 16 17 18############################################################################## 19 20commithook-signedoff: 21 stage: commithooks 22 image: achreto/barrelfish-ci 23 script: 24 - "! git log --since='2018-01-01' --invert-grep --grep='Signed-off-by' 25 | tee 'commits_not_signed.txt' | grep 'commit' -A 5" 26 27commithook-merged: 28 stage: commithooks 29 image: achreto/barrelfish-ci 30 script: 31 - "! grep -r '^<<<<<<< '" 32 33 34############################################################################## 35 36hake-tool: 37 stage: hake 38 image: achreto/barrelfish-ci 39 script: 40 - "mkdir build; (cd build && ../hake/hake.sh --no-hake -s ../ -a x86_64)" 41 42hake-files: 43 stage: hake 44 image: achreto/barrelfish-ci 45 script: 46 - "mkdir build; (cd build && ../hake/hake.sh --no-deps -s ../ -a x86_64)" 47 48############################################################################## 49 50 51build-x86: 52 stage: build 53 image: achreto/barrelfish-ci 54 artifacts: 55 paths: 56 - build-x86.log 57 when: on_failure 58 script: 59 - "mkdir build-x86; 60 (cd build-x86 && ../hake/hake.sh -s ../ -a x86_64 && make X86_64_Basic -j4 > ../build.log); 61 rm -rf build-x86" 62 63 64build-armv7: 65 stage: build 66 image: achreto/barrelfish-ci 67 artifacts: 68 paths: 69 - build-armv7.log 70 when: on_failure 71 script: 72 - "mkdir build-armv7; 73 (cd build-armv7 && ../hake/hake.sh -s ../ -a armv7 && make ARMV7_Basic -j4 > ../build-armv7.log); 74 rm -rf build-armv7" 75 76 77build-armv8: 78 stage: build 79 image: achreto/barrelfish-ci 80 artifacts: 81 paths: 82 - build-armv8.log 83 when: on_failure 84 script: 85 - "mkdir build-armv8; 86 (cd build-armv8 && ../hake/hake.sh -s ../ -a armv8 && make ARMV8_Basic -j4 > ../build-armv8.log); 87 rm -rf build-armv8;" 88 89 90############################################################################## 91 92# x86:build: 93# stage: build 94# dependencies: 95# - x86:hake 96# image: achreto/barrelfish-ci 97# script: 98# - "(cd build-x86 && make X86_64_Basic)" 99 100# x86:memtest: 101# stage: tests 102# dependencies: 103# - x86:build 104# image: achreto/barrelfish-ci 105# script: 106# - "mkdir -p results" 107# - "(./tools/harness/scalebench.py --xml --debug -B build-x86 -m qemu1 -t memtest . results )" 108 109# x86:memtest4: 110# stage: tests 111# dependencies: 112# - x86:build 113# image: achreto/barrelfish-ci 114# script: 115# - "mkdir -p results" 116# - "(./tools/harness/scalebench.py --xml --debug -B build-x86 -m qemu4 -t memtest . results )" 117 118 119# ############################################################################## 120 121 122# armv7:hake: 123# stage: hake 124# image: achreto/barrelfish-ci 125# artifacts: 126# paths: 127# - build-armv7 128# when: on_success 129# script: 130# - "mkdir build-armv7; (cd build-armv7 && ../hake/hake.sh -s ../ -a armv7)" 131 132 133# armv7:build: 134# stage: build 135# dependencies: 136# - armv7:hake 137# image: achreto/barrelfish-ci 138# script: 139# - "(cd build-armv7 && make PandaboardES)" 140 141# armv7:memtest: 142# stage: tests 143# dependencies: 144# - armv7:build 145# image: achreto/barrelfish-ci 146# script: 147# - "mkdir -p results" 148# - "(./tools/harness/scalebench.py --xml --debug -B build-armv7 -m qemu_armv7 -t memtest . results )" 149 150 151# ############################################################################## 152 153 154# armv8:hake: 155# stage: hake 156# image: achreto/barrelfish-ci 157# artifacts: 158# paths: 159# - build-armv8 160# when: on_success 161# script: 162# - "mkdir build-armv8; (cd build-armv8 && ../hake/hake.sh -s ../ -a armv8)"# 163# # 164 165# armv8:build: 166# stage: build 167# dependencies: 168# - armv8:hake 169# image: achreto/barrelfish-ci 170# script: 171# - "(cd build-armv8 && make ThunderX)" 172 173# armv8:memtest: 174# stage: tests 175# dependencies: 176# - armv8:build 177# image: achreto/barrelfish-ci 178# script: 179# - "mkdir -p results" 180# - "(./tools/harness/scalebench.py --xml --debug -B build-armv8 -m qemu_armv8_1 -t memtest . results )" 181