-
Notifications
You must be signed in to change notification settings - Fork 0
/
jobs-loom.yaml
58 lines (57 loc) · 1.58 KB
/
jobs-loom.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
- job-group:
name: 'Loom'
jobs:
- 'CADETS/Loom'
- job-template:
name: 'CADETS/Loom'
project-type: matrix
block-downstream: false
block-upstream: true
quiet-period: 5
disabled: false
logrotate:
daysToKeep: -1
numToKeep: -1
artifactDaysToKeep: -1
artifactNumToKeep: 3
properties:
- github:
url: http://github.com/cadets/loom/
timeout: 30
- wall-display:
text: Loom
scm:
- git:
url: https://github.com/cadets/loom
branches:
- '*/master'
basedir: src
triggers:
- reverse:
jobs: 'CADETS/LLVM-cadets'
- github
axes:
- axis:
type: user-defined
name: BUILD_TYPE
values:
- Release
- Debug
builders:
- github-notifier
- copyartifact:
project: 'LLVM-cadets'
which-build: last-successful
fallback-to-last-successful: true
filter: 'llvm.txz'
- shell: tar -zxvf BUILD_TYPE=$BUILD_TYPE/llvm.txz
- shell: export LLVM_DIR=$WORKSPACE/llvm_build && export PATH=$LLVM_DIR/bin:$PATH && mkdir -p loom_build && cd loom_build && cmake -G Ninja -D CMAKE_BUILD_TYPE=$BUILD_TYPE ../src && nice ninja LLVMLoom && nice ninja check || true
- shell: tar -czf loom.txz loom_build
publishers:
- archive:
artifacts: 'loom.txz, loom_build/lib/LLVMLoom.so'
only-if-success: true
- junit:
results: loom_build/test/loom.xml
keep-long-stdio: false
- slack-notification