Skip to content

Commit 7f67e6c

Browse files
committed
workflows: Merge LLVM tests together into a single job (llvm#78877) (llvm#79710)
This is possible now that the free GitHub runners for Windows and Linux have more disk space: https://github.blog/2024-01-17-github-hosted-runners-double-the-power-for-open-source/ I also had to switch from macOS-11 to macOS-13 in order to prevent the job from timing out. macOS-13 runners have 4 vCPUs and the macOS-11 runners only have 3.
1 parent 424c7ec commit 7f67e6c

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

.github/workflows/llvm-project-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
required: false
1515
os_list:
1616
required: false
17-
default: '["ubuntu-latest", "windows-2019", "macOS-11"]'
17+
default: '["ubuntu-latest", "windows-2019", "macOS-13"]'
1818
python_version:
1919
required: false
2020
type: string

.github/workflows/llvm-tests.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,31 +27,13 @@ concurrency:
2727
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
2828

2929
jobs:
30-
check_all:
30+
check-all:
3131
if: github.repository_owner == 'llvm'
32-
name: Test llvm,clang,libclc
32+
name: Build and Test
3333
uses: ./.github/workflows/llvm-project-tests.yml
3434
with:
3535
build_target: check-all
36-
projects: clang;libclc
37-
38-
# These need to be separate from the check_all job, becuase there is not enough disk
39-
# space to build all these projects on Windows.
40-
build_lldb:
41-
if: github.repository_owner == 'llvm'
42-
name: Build lldb
43-
uses: ./.github/workflows/llvm-project-tests.yml
44-
with:
45-
build_target: ''
46-
projects: clang;lldb
47-
48-
check_lld:
49-
if: github.repository_owner == 'llvm'
50-
name: Test lld
51-
uses: ./.github/workflows/llvm-project-tests.yml
52-
with:
53-
build_target: check-lld
54-
projects: lld
36+
projects: clang;lld;libclc;lldb
5537

5638
abi-dump-setup:
5739
if: github.repository_owner == 'llvm'

0 commit comments

Comments
 (0)