File tree Expand file tree Collapse file tree 2 files changed +29
-8
lines changed Expand file tree Collapse file tree 2 files changed +29
-8
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- runs-on : ubuntu-24.04
14+ runs-on : ${{ matrix.os }}
1515 strategy :
1616 fail-fast : false
1717 matrix :
1818 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
2027 cpp_compiler : clang++
2128 # TODO: add back gcc build when it is fixed
2229 # - c_compiler: gcc
3542 with :
3643 max-size : 1G
3744 key : libc_fullbuild_${{ matrix.c_compiler }}
38- variant : sccache
45+ variant : ${{ matrix.ccache-variant }}
3946
4047 # Notice:
4148 # - MPFR is required by some of the mathlib tests.
6269 -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
6370 -DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
6471 -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 }}
6774 -DCMAKE_INSTALL_PREFIX=${{ steps.strings.outputs.build-install-dir }}
6875 -DLLVM_ENABLE_RUNTIMES="libc;compiler-rt"
6976 -DLLVM_LIBC_FULL_BUILD=ON
Original file line number Diff line number Diff line change @@ -19,14 +19,28 @@ jobs:
1919 include :
2020 # TODO: add linux gcc when it is fixed
2121 - 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
2229 compiler :
2330 c_compiler : clang
2431 cpp_compiler : clang++
2532 - 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
2639 compiler :
2740 c_compiler : clang-cl
2841 cpp_compiler : clang-cl
2942 - os : macos-14
43+ ccache-variant : sccache
3044 compiler :
3145 c_compiler : clang
3246 cpp_compiler : clang++
4660 with :
4761 max-size : 1G
4862 key : libc_overlay_build_${{ matrix.os }}_${{ matrix.compiler.c_compiler }}
49- variant : sccache
63+ variant : ${{ matrix.ccache-variant }}
5064
5165 # MPFR is required by some of the mathlib tests.
5266 - name : Prepare dependencies (Ubuntu)
8296 -DCMAKE_CXX_COMPILER=${{ matrix.compiler.cpp_compiler }}
8397 -DCMAKE_C_COMPILER=${{ matrix.compiler.c_compiler }}
8498 -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 }}
87101 -DCMAKE_POLICY_DEFAULT_CMP0141=NEW
88102 -DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded
89103 -DLLVM_ENABLE_RUNTIMES=libc
You can’t perform that action at this time.
0 commit comments