Skip to content

Commit fcb2500

Browse files
more fixes
1 parent 08d00cc commit fcb2500

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed

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

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,23 @@ jobs:
1717
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations.
1818
fail-fast: false
1919
matrix:
20-
os: [ ubuntu-24.04, windows-2022, macos-14 ]
21-
compiler: [
22-
{ c_compiler: gcc, cpp_compiler: g++ },
23-
{ c_compiler: clang, cpp_compiler: clang++ },
24-
{ c_compiler: clang-cl, cpp_compiler: clang-cl }
25-
]
26-
exclude:
27-
- os: windows-2022
28-
compiler: { c_compiler: gcc, cpp_compiler: g++ }
29-
- os: windows-2022
30-
compiler: { c_compiler: clang, cpp_compiler: clang++ }
31-
- os: ubuntu-24.04
32-
compiler: { c_compiler: clang-cl, cpp_compiler: clang-cl }
20+
include:
21+
- os: ubuntu-20.04
22+
compiler:
23+
c_compiler: clang
24+
cpp_compiler: clang++
25+
cmake_config:
26+
- os: windows-latest
27+
compiler:
28+
c_compiler: clang-cl
29+
cpp_compiler: clang-cl
30+
cmake_config: -TClangCL
3331
- os: macos-14
34-
compiler: { c_compiler: clang-cl, cpp_compiler: clang-cl }
35-
- os: macos-14
36-
compiler: { c_compiler: gcc, cpp_compiler: g++ }
37-
32+
compiler:
33+
c_compiler: clang
34+
cpp_compiler: clang++
35+
cmake_config:
36+
3837
steps:
3938
- uses: actions/checkout@v4
4039

@@ -45,12 +44,7 @@ jobs:
4544
if: runner.os == 'Linux'
4645
run: |
4746
sudo apt-get update
48-
sudo apt-get install -y cmake libmpfr-dev libgmp-dev libmpc-dev
49-
50-
- name: Prepare dependencies (Windows)
51-
if: runner.os == 'Windows'
52-
run: |
53-
echo "C:\\Program Files\\LLVM\\bin" >> $GITHUB_PATH
47+
sudo apt-get install -y libmpfr-dev libgmp-dev libmpc-dev
5448
5549
- name: Set reusable strings
5650
id: strings
@@ -67,6 +61,7 @@ jobs:
6761
-DCMAKE_C_COMPILER_LAUNCHER=sccache
6862
-DCMAKE_CXX_COMPILER_LAUNCHER=sccache
6963
-DLLVM_ENABLE_RUNTIMES=libc
64+
${{ matrix.cmake_config }}
7065
-S ${{ github.workspace }}/runtimes
7166
7267
- name: Build

0 commit comments

Comments
 (0)