File tree 2 files changed +29
-8
lines changed
2 files changed +29
-8
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
build :
14
- runs-on : ubuntu-24.04
14
+ runs-on : ${{ matrix.os }}
15
15
strategy :
16
16
fail-fast : false
17
17
matrix :
18
18
include :
19
- - c_compiler : clang
19
+ - os : ubuntu-24.04
20
+ ccache-variant : sccache
21
+ c_compiler : clang
22
+ cpp_compiler : clang++
23
+ # TODO: remove ccache logic when https://github.com/hendrikmuhs/ccache-action/issues/279 is resolved.
24
+ - os : ubuntu-24.04-arm
25
+ ccache-variant : ccache
26
+ c_compiler : clang
20
27
cpp_compiler : clang++
21
28
# TODO: add back gcc build when it is fixed
22
29
# - c_compiler: gcc
35
42
with :
36
43
max-size : 1G
37
44
key : libc_fullbuild_${{ matrix.c_compiler }}
38
- variant : sccache
45
+ variant : ${{ matrix.ccache-variant }}
39
46
40
47
# Notice:
41
48
# - MPFR is required by some of the mathlib tests.
62
69
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
63
70
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
64
71
-DCMAKE_BUILD_TYPE=MinSizeRel
65
- -DCMAKE_C_COMPILER_LAUNCHER=sccache
66
- -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
72
+ -DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
73
+ -DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
67
74
-DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}
68
75
-DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"
69
76
-DLLVM_LIBC_FULL_BUILD=ON
Original file line number Diff line number Diff line change @@ -19,14 +19,28 @@ jobs:
19
19
include :
20
20
# TODO: add linux gcc when it is fixed
21
21
- os : ubuntu-24.04
22
+ ccache-variant : sccache
23
+ compiler :
24
+ c_compiler : clang
25
+ cpp_compiler : clang++
26
+ # TODO: remove ccache logic when https://github.com/hendrikmuhs/ccache-action/issues/279 is resolved.
27
+ - os : ubuntu-24.04-arm
28
+ ccache-variant : ccache
22
29
compiler :
23
30
c_compiler : clang
24
31
cpp_compiler : clang++
25
32
- os : windows-2022
33
+ ccache-variant : sccache
34
+ compiler :
35
+ c_compiler : clang-cl
36
+ cpp_compiler : clang-cl
37
+ - os : windows-2025
38
+ ccache-variant : sccache
26
39
compiler :
27
40
c_compiler : clang-cl
28
41
cpp_compiler : clang-cl
29
42
- os : macos-14
43
+ ccache-variant : sccache
30
44
compiler :
31
45
c_compiler : clang
32
46
cpp_compiler : clang++
46
60
with :
47
61
max-size : 1G
48
62
key : libc_overlay_build_${{ matrix.os }}_${{ matrix.compiler.c_compiler }}
49
- variant : sccache
63
+ variant : ${{ matrix.ccache-variant }}
50
64
51
65
# MPFR is required by some of the mathlib tests.
52
66
- name : Prepare dependencies (Ubuntu)
82
96
-DCMAKE_CXX_COMPILER=${{ matrix.compiler.cpp_compiler }}
83
97
-DCMAKE_C_COMPILER=${{ matrix.compiler.c_compiler }}
84
98
-DCMAKE_BUILD_TYPE=MinSizeRel
85
- -DCMAKE_C_COMPILER_LAUNCHER=sccache
86
- -DCMAKE_CXX_COMPILER_LAUNCHER=sccache
99
+ -DCMAKE_C_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
100
+ -DCMAKE_CXX_COMPILER_LAUNCHER=${{ matrix.ccache-variant }}
87
101
-DCMAKE_POLICY_DEFAULT_CMP0141=NEW
88
102
-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded
89
103
-DLLVM_ENABLE_RUNTIMES=libc
You can’t perform that action at this time.
0 commit comments