Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcromani committed Mar 25, 2024
1 parent c69b289 commit 8668558
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,15 @@ jobs:
- name: Configure CMake for Windows + clang
if: matrix.os == 'windows-latest' && matrix.compiler == 'clang'
run: |
$cmake_args = (
"-DGTEST_LINKED_AS_SHARED_LIBRARY=ON " +
"-DCMAKE_BUILD_TYPE=Release " +
"-DCMAKE_C_COMPILER='C:\Program Files\LLVM\bin\clang.exe' " +
"-DCMAKE_CXX_COMPILER='C:\Program Files\LLVM\bin\clang++.exe' " +
"-G Ninja ",
$args = (
"-DGTEST_LINKED_AS_SHARED_LIBRARY=ON",
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_C_COMPILER='C:\Program Files\LLVM\bin\clang.exe'",
"-DCMAKE_CXX_COMPILER='C:\Program Files\LLVM\bin\clang++.exe'",
"-G Ninja",
"-B build")
cmake $cmake_args
$args_str = $args -join ''
cmake $args
- name: Configure CMake for Windows + MSVC
if: matrix.os == 'windows-latest' && matrix.compiler == 'MSVC'
Expand Down

0 comments on commit 8668558

Please sign in to comment.