Replacing CMAKE_SOURCE_DIR with PROJECT_SOURCE_DIR (#752) #1425
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: VS17-CLANG-CI | |
| on: [push, pull_request] | |
| permissions: | |
| contents: read | |
| jobs: | |
| ci: | |
| name: windows-vs17 | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - {gen: Visual Studio 17 2022, arch: x64} | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Configure | |
| run: | | |
| mkdir build | |
| cd build && cmake -DENABLE_ROARING_TESTS=ON -G "${{matrix.gen}}" -A ${{matrix.arch}} -T ClangCL .. | |
| - name: Build | |
| run: cmake --build build --config Release --parallel | |
| - name: Run basic tests | |
| run: | | |
| cd build | |
| ctest -C Release --output-on-failure | |
| - name: Build Debug | |
| run: cmake --build build --config Debug --parallel | |
| - name: Run basic tests in Debug | |
| run: | | |
| cd build | |
| ctest -C Debug --output-on-failure |