Skip to content

Commit 0b4323b

Browse files
try use ninja on all platforms
1 parent 6f3b9eb commit 0b4323b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/libc-overlay-tests.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,14 @@ jobs:
2323
compiler:
2424
c_compiler: clang
2525
cpp_compiler: clang++
26-
cmake_config: -GNinja
2726
- os: windows-2022
2827
compiler:
2928
c_compiler: clang-cl
3029
cpp_compiler: clang-cl
31-
cmake_config: -TClangCL
3230
- os: macos-14
3331
compiler:
3432
c_compiler: clang
3533
cpp_compiler: clang++
36-
cmake_config:
3734

3835
steps:
3936
- uses: actions/checkout@v4
@@ -46,6 +43,16 @@ jobs:
4643
run: |
4744
sudo apt-get update
4845
sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev ninja-build
46+
47+
- name: Prepare dependencies (Windows)
48+
if: runner.os == 'Windows'
49+
run: |
50+
choco install ninja
51+
52+
- name: Prepare dependencies (macOS)
53+
if: runner.os == 'macOS'
54+
run: |
55+
brew install ninja
4956
5057
- name: Set reusable strings
5158
id: strings
@@ -64,7 +71,7 @@ jobs:
6471
-DCMAKE_POLICY_DEFAULT_CMP0141=NEW
6572
-DCMAKE_MSVC_DEBUG_INFORMATION_FORMAT=Embedded
6673
-DLLVM_ENABLE_RUNTIMES=libc
67-
${{ matrix.cmake_config }}
74+
-G Ninja
6875
-S ${{ github.workspace }}/runtimes
6976
7077
- name: Build

0 commit comments

Comments
 (0)