-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
95 lines (87 loc) · 2.87 KB
/
.gitlab-ci.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
88
89
90
91
92
93
94
95
stages:
- build
- mediumend-test-2022
- mediumend-test-prev
- end2end-test-2022
build:
stage: build
needs: []
script:
- rm -r build/ || true
- mkdir build
- cd build
- cmake ..
- make -j
artifacts:
paths:
- build/compiler
functional2022:
stage: mediumend-test-2022
needs: [build]
script:
- cd build
- python3 ../test/mediumend/run_tests.py ./compiler ../test/mediumend/ir_to_llvm.py ../runtime/libsysy_x86.a /home/compile-ci-runner/compiler2022/functional/ test_result_functional2022.xml
allow_failure: true
artifacts:
reports:
junit: build/test_result_functional2022.xml
performance2022:
stage: mediumend-test-2022
needs: [build]
script:
- cd build
- python3 ../test/mediumend/run_tests.py ./compiler ../test/mediumend/ir_to_llvm.py ../runtime/libsysy_x86.a /home/compile-ci-runner/compiler2022/performance/ test_result_performance2022.xml
allow_failure: true
artifacts:
reports:
junit: build/test_result_performance2022.xml
functional_pre2021:
stage: mediumend-test-prev
needs: [build]
script:
- cd build
- python3 ../test/mediumend/run_tests.py ./compiler ../test/mediumend/ir_to_llvm.py ../runtime/libsysy_x86.a /home/compile-ci-runner/compiler2021/2021_pre/functional/ test_result_functional_pre2021.xml
allow_failure: true
artifacts:
reports:
junit: build/test_result_functional_pre2021.xml
functional_h_pre2021:
stage: mediumend-test-prev
needs: [build]
script:
- cd build
- python3 ../test/mediumend/run_tests.py ./compiler ../test/mediumend/ir_to_llvm.py ../runtime/libsysy_x86.a /home/compile-ci-runner/compiler2021/2021_pre/h_functional/ test_result_functional_h_pre2021.xml
allow_failure: true
artifacts:
reports:
junit: build/test_result_functional_h_pre2021.xml
functional2021:
stage: mediumend-test-prev
needs: [build]
script:
- cd build
- python3 ../test/mediumend/run_tests.py ./compiler ../test/mediumend/ir_to_llvm.py ../runtime/libsysy_x86.a /home/compile-ci-runner/compiler2021/function_test2021/ test_result_functional2021.xml
allow_failure: true
artifacts:
reports:
junit: build/test_result_functional2021.xml
functional2020:
stage: mediumend-test-prev
needs: [build]
script:
- cd build
- python3 ../test/mediumend/run_tests.py ./compiler ../test/mediumend/ir_to_llvm.py ../runtime/libsysy_x86.a /home/compile-ci-runner/compiler2021/function_test2020/ test_result_functional2020.xml
allow_failure: true
artifacts:
reports:
junit: build/test_result_functional2020.xml
performance:
stage: end2end-test-2022
needs: [build]
script:
- cd build
- python3 ../test/end2end/run_tests.py ./compiler ../runtime/libsysy.a /home/allright/compiler2022/performance/ test_result_performance.xml
allow_failure: true
artifacts:
reports:
junit: build/test_result_performance.xml