File tree Expand file tree Collapse file tree 6 files changed +117
-4
lines changed Expand file tree Collapse file tree 6 files changed +117
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Bolt Tests
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ workflow_dispatch :
8+ push :
9+ branches :
10+ - ' main'
11+ paths :
12+ - ' bolt/**'
13+ - ' .github/workflows/bolt-tests.yml'
14+ - ' .github/workflows/llvm-project-tests.yml'
15+ pull_request :
16+ branches :
17+ - ' main'
18+ paths :
19+ - ' bolt/**'
20+ - ' .github/workflows/bolt-tests.yml'
21+ - ' .github/workflows/llvm-project-tests.yml'
22+
23+ concurrency :
24+ # Skip intermediate builds: always.
25+ # Cancel intermediate builds: only if it is a pull request build.
26+ group : ${{ github.workflow }}-${{ github.ref }}
27+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
28+
29+ jobs :
30+ check-all :
31+ if : github.repository_owner == 'llvm'
32+ name : Build and Test
33+ uses : ./.github/workflows/llvm-project-tests.yml
34+ with :
35+ build_target : check-bolt check-lld
36+ projects : bolt;lld;llvm
37+ os_list : ' ["ubuntu-latest"]' # tests are not supported yet on Windows
Original file line number Diff line number Diff line change 1+ name : Flang Tests
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ workflow_dispatch :
8+ push :
9+ branches :
10+ - ' main'
11+ paths :
12+ - ' flang/**'
13+ - ' .github/workflows/flang-tests.yml'
14+ - ' .github/workflows/llvm-project-tests.yml'
15+ pull_request :
16+ branches :
17+ - ' main'
18+ paths :
19+ - ' flang/**'
20+ - ' .github/workflows/flang-tests.yml'
21+ - ' .github/workflows/llvm-project-tests.yml'
22+
23+ concurrency :
24+ # Skip intermediate builds: always.
25+ # Cancel intermediate builds: only if it is a pull request build.
26+ group : ${{ github.workflow }}-${{ github.ref }}
27+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
28+
29+ jobs :
30+ check-all :
31+ if : github.repository_owner == 'llvm'
32+ name : Build and Test
33+ uses : ./.github/workflows/llvm-project-tests.yml
34+ with :
35+ build_target : check-flang
36+ projects : flang;clang
Original file line number Diff line number Diff line change 88 push :
99 branches :
1010 - ' release/**'
11+ - ' main'
1112 paths :
1213 - ' lld/**'
1314 - ' .github/workflows/lld-tests.yml'
1617 pull_request :
1718 branches :
1819 - ' release/**'
20+ - ' main'
1921 paths :
2022 - ' lld/**'
2123 - ' .github/workflows/lld-tests.yml'
3436 name : Test lld
3537 uses : ./.github/workflows/llvm-project-tests.yml
3638 with :
37- build_target : check-lld
38- projects : lld
39+ build_target : check-lld check-bolt check-cross-project-tests
40+ projects : lld;bolt;cross-project-tests
Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ jobs:
124124 -DCMAKE_C_COMPILER_LAUNCHER=sccache \
125125 -DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
126126 ${{ inputs.extra_cmake_args }}
127- ninja -C "$builddir" ' ${{ inputs.build_target }}'
127+ ninja -C "$builddir" ${{ inputs.build_target }}
128128
129129 - name : Build and Test libclc
130130 if : " !startsWith(matrix.os, 'windows') && contains(inputs.projects, 'libclc')"
Original file line number Diff line number Diff line change 88 push :
99 branches :
1010 - ' release/**'
11+ - ' main'
1112 paths :
1213 - ' llvm/**'
1314 - ' .github/workflows/llvm-tests.yml'
1415 - ' .github/workflows/llvm-project-tests.yml'
1516 pull_request :
1617 branches :
1718 - ' release/**'
19+ - ' main'
1820 paths :
1921 - ' llvm/**'
2022 - ' .github/workflows/llvm-tests.yml'
3335 uses : ./.github/workflows/llvm-project-tests.yml
3436 with :
3537 build_target : check-all
36- projects : clang;lld;libclc; lldb
38+ projects : clang-tools-extra;compiler-rt;flang;libc; lldb;openmp;cross-project-tests
3739
3840 abi-dump-setup :
3941 if : github.repository_owner == 'llvm'
Original file line number Diff line number Diff line change 1+ name : MLIR Tests
2+
3+ permissions :
4+ contents : read
5+
6+ on :
7+ workflow_dispatch :
8+ push :
9+ branches :
10+ - ' main'
11+ paths :
12+ - ' mlir/**'
13+ - ' .github/workflows/mlir-tests.yml'
14+ - ' .github/workflows/llvm-project-tests.yml'
15+ pull_request :
16+ branches :
17+ - ' main'
18+ paths :
19+ - ' mlir/**'
20+ - ' .github/workflows/mlir-tests.yml'
21+ - ' .github/workflows/llvm-project-tests.yml'
22+
23+ concurrency :
24+ # Skip intermediate builds: always.
25+ # Cancel intermediate builds: only if it is a pull request build.
26+ group : ${{ github.workflow }}-${{ github.ref }}
27+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
28+
29+ jobs :
30+ check-all :
31+ if : github.repository_owner == 'llvm'
32+ name : Build and Test
33+ uses : ./.github/workflows/llvm-project-tests.yml
34+ with :
35+ build_target : check-mlir check-flang
36+ projects : mlir;flang;clang
You can’t perform that action at this time.
0 commit comments