From 93ecaf8aed4eec7f38bb622bbfd4b0035075eb69 Mon Sep 17 00:00:00 2001 From: YuJin Kim Date: Sun, 11 Feb 2024 17:23:36 -0800 Subject: [PATCH] In CI, add macOS (M1); for Ubuntu & Mac, ... [5] --- .github/workflows/cmake-multi-platform.yml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index cfc4034..4b92dd9 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -25,7 +25,6 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] build_type: [Release] - c_compiler: [gcc, clang-17, cl] include: - os: windows-latest c_compiler: cl @@ -39,17 +38,10 @@ jobs: - os: macos-latest c_compiler: clang-17 cpp_compiler: clang++-17 - exclude: - - os: windows-latest - c_compiler: gcc - - os: windows-latest - c_compiler: clang-17 - - os: ubuntu-latest - c_compiler: cl - - os: macos-latest - c_compiler: gcc - - os: macos-latest - c_compiler: cl + env: + - LDFLAGS: -L$HOMEBREW_PREFIX/opt/llvm/lib/c++ -Wl,-rpath,$HOMEBREW_PREFIX/opt/llvm/lib/c++ + - CPPFLAGS: -I$HOMEBREW_PREFIX/opt/llvm/include + - PATH: $HOMEBREW_PREFIX/opt/llvm/bin:$PATH steps: - uses: actions/checkout@v3