diff --git a/.github/workflows/lcov.yml b/.github/workflows/lcov.yml index 0d7771a2..b1cbd5ff 100644 --- a/.github/workflows/lcov.yml +++ b/.github/workflows/lcov.yml @@ -14,10 +14,9 @@ jobs: image: vsaglib/vsag:ubuntu steps: - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v3 - with: - python-version: '3.10' + - name: Link Python3.10 as Python + run: | + ln -s /usr/bin/python3 /usr/bin/python - name: Install run: | python -m pip install --upgrade pip diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c59e665f..fb05df3a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,10 +10,12 @@ jobs: clang-tidy-check: name: Lint runs-on: ubuntu-latest + container: + image: vsaglib/vsag:ubuntu steps: - name: Checkout code uses: actions/checkout@v4 - name: Install clang-tidy - run: sudo apt install clang-tidy-15 -y + run: sudo apt install clang-tidy-15 -y && sudo ln -s /usr/bin/clang-tidy-15 /usr/bin/clang-tidy - name: Run lint - run: make lint + run: make debug && make lint diff --git a/CMakeLists.txt b/CMakeLists.txt index 905dddea..6018296c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -195,6 +195,7 @@ if (ENABLE_TOOLS AND ENABLE_CXX11_ABI) endif () set (CMAKE_CXX_STANDARD 17) +set (CMAKE_CXX_STANDARD_REQUIRED ON) if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") if (CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 17 OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 17)