Skip to content

Commit

Permalink
CI: add ubuntu 24, upgrade checkout action, limit make threads
Browse files Browse the repository at this point in the history
  • Loading branch information
mshabunin committed Oct 15, 2024
1 parent 0e8a2cc commit 2002372
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
matrix:
version: [11, 14, 17, 20, 23]
os: [
ubuntu-20.04,
ubuntu-22.04,
ubuntu-24.04,
windows-2022,
]

runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build Stage
shell: bash
Expand All @@ -33,7 +33,7 @@ jobs:
elif [ "$RUNNER_OS" == "Linux" ]; then
cmake -DENABLE_ADE_TESTING=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=${{ matrix.version }} ..
make -j
make -j2
else
echo "$RUNNER_OS not supported"
Expand Down
2 changes: 1 addition & 1 deletion sources/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else()
set(GTEST_LIBRARIES_PATH ${GTEST_INSTALL_DIR}/lib/)

set(GTEST_LIB_PREFIX ${CMAKE_FIND_LIBRARY_PREFIXES})
if( WIN32 AND ${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang")
if( WIN32 AND (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "MSVC"))
# Somehow in this case we get GTest compiled as gtest.lib and
# prefix equals to "pub;"
# Workarounds, workarounds...
Expand Down

0 comments on commit 2002372

Please sign in to comment.