Repository navigation
79 lines (77 loc) · 2.17 KB
/
Copy pathon_pull_request.yml
File metadata and controls
79 lines (77 loc) · 2.17 KB
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
name: On Pull Request
on:
merge_group:
pull_request:
types: [synchronize, opened, reopened, ready_for_review]
concurrency:
group: on-pull-request_${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
issues: write
pull-requests: write
jobs:
tests:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/tests.yml
secrets: inherit
backtest:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/backtest.yml
secrets: inherit
benchmark:
if: github.event.pull_request.draft == false && github.event_name == 'pull_request'
uses: ./.github/workflows/benchmark.yml
with:
github-token: ${{ github.token }}
secrets: inherit
build_checks_1:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/builds.yml
with:
cid: 1
build_arm: false
check_run: true
verbose: true
exit_on_err: true
# compiler,machine,target
gcc_exceptions: |
gcc-8.5.0,linux_gcc_zen2,ALL;
gcc-12.4.0,linux_gcc_zen2,ALL;
ALL,linux_gcc_riscv,ALL;
ALL,linux_gcc_power9,ALL;
ALL,linux_gcc_neoverse_n2,ALL;
ALL,linux_gcc_zen3,ALL;
ALL,linux_gcc_zen4,ALL;
ALL,linux_gcc_zen5,ALL;
ALL,linux_gcc_icelake,ALL;
ALL,linux_gcc_x86_64,ALL
clang_exceptions: |
clang-19.1.7,linux_clang_zen2,ALL;
ALL,linux_clang_zen3,ALL;
ALL,linux_clang_zen4,ALL;
ALL,linux_clang_zen5,ALL;
build_checks_2:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/builds.yml
with:
cid: 2
clang: none
machine: linux_gcc_icelake,linux_gcc_x86_64
verbose: true
exit_on_err: true
build_arm: false
check_run: true
build_checks_3:
if: github.event.pull_request.draft == false
uses: ./.github/workflows/builds.yml
with:
cid: 3
gcc: gcc-12.4.0
clang: clang-19.1.7
machine: linux_gcc_zen2,linux_clang_zen2
verbose: true
exit_on_err: true
build_arm: false
check_run: true
no_optimization: true