From 1e0771c70a5fdc8c95e4dc5f800bf6b69f09e2f9 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Wed, 4 Sep 2024 20:53:50 +0500 Subject: [PATCH] Fix broken CI for shared library on macos and linux (#4151) Signed-off-by: Vladislav Shchapov --- .github/workflows/linux.yml | 7 ++++++- .github/workflows/macos.yml | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 1bbfee8f..e168d71d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -13,6 +13,7 @@ jobs: cxx: [g++-4.9, g++-10, clang++-9] build_type: [Debug, Release] std: [11] + shared: [""] include: - cxx: g++-4.9 install: sudo apt install g++-4.9 @@ -54,7 +55,11 @@ jobs: std: 20 cxxflags: -stdlib=libc++ install: sudo apt install libc++-11-dev libc++abi-11-dev - - shared: -DBUILD_SHARED_LIBS=ON + - cxx: g++-11 + build_type: Release + std: 23 + install: sudo apt install g++-11 + shared: -DBUILD_SHARED_LIBS=ON steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 1972cce5..5713c3e8 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -12,11 +12,15 @@ jobs: os: [macos-13, macos-14] build_type: [Debug, Release] std: [11, 17, 20] + shared: [""] exclude: - { os: macos-13, std: 11 } - { os: macos-13, std: 17 } include: - - shared: -DBUILD_SHARED_LIBS=ON + - os: macos-14 + std: 23 + build_type: Release + shared: -DBUILD_SHARED_LIBS=ON runs-on: '${{ matrix.os }}'