forked from blue-oil/blueoil
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdlk-pipeline.yml
87 lines (87 loc) · 2.42 KB
/
dlk-pipeline.yml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
steps:
- command: "make build"
label: "docker build in normal agent"
agents:
- "agent-type=normal"
- "env=production"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
concurrency: 1
concurrency_group: "docker/normal/${BUILDKITE_COMMIT}"
- wait
- command: "make test-dlk-main"
label: "dlk: main"
agents:
- "agent-type=normal"
- "env=production"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
- command: "make test-dlk-x86_64"
label: "dlk: code_generation for x86_64"
agents:
- "agent-type=normal"
- "env=production"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
- command: "make test-dlk-x86_64_avx"
label: "dlk: code_generation for x86_64_avx"
agents:
- "agent-type=normal"
- "env=production"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
- command: "make test-dlk-arm"
label: "dlk: code_generation for arm(bionic)"
agents:
- "agent-type=fpga"
- "env=production"
- "os=bionic"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
- command: "make test-dlk-arm_fpga"
label: "dlk: code_generation for arm_fpga(bionic)"
agents:
- "agent-type=fpga"
- "os=bionic"
- "env=production"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
- command: "make test-dlk-aarch64"
label: "dlk: code_generation for aarch64(bionic)"
key: "build_aarch64"
agents:
- "agent-type=normal"
- "env=production"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
artifact_paths:
- "output/TestCodeGenerationAarch64/**/*"
- command: "make test-dlk-aarch64_fpga"
label: "dlk: code_generation for aarch64_fpga"
agents:
- "agent-type=normal"
- "env=production"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
- command: |
buildkite-agent artifact download "output/TestCodeGenerationAarch64/*" ./ --build ${BUILDKITE_BUILD_ID}
python3 tests/device_tests/test_device.py
label: "dlk: run binary on aarch64(bionic)"
depends_on: "build_aarch64"
agents:
- "agent-type=raspberry-pi"
- "env=production"
- "os=bionic"
timeout_in_minutes: "30"
env:
BUILDKITE_CLEAN_CHECKOUT: 'true'
DEVICE_TEST_INPUT_PATH: './output/TestCodeGenerationAarch64'
PYTHONPATH: '.'