adding concept examples to the compile-time JSON. (#2538) #3702
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: MSYS2-CLANG-CI | |
| on: [push, pull_request] | |
| jobs: | |
| windows-mingw: | |
| name: ${{ matrix.msystem }} | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - msystem: "MINGW64" | |
| install: mingw-w64-x86_64-libxml2 mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-clang | |
| type: Release | |
| - msystem: "MINGW64" | |
| install: mingw-w64-x86_64-libxml2 mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-clang | |
| type: Debug | |
| - msystem: "MINGW64" | |
| install: mingw-w64-x86_64-libxml2 mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-clang | |
| type: RelWithDebInfo | |
| env: | |
| CMAKE_GENERATOR: Ninja | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: dependencies/.cache | |
| key: ${{ hashFiles('dependencies/CMakeLists.txt') }} | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| update: true | |
| msystem: ${{ matrix.msystem }} | |
| install: ${{ matrix.install }} | |
| - name: Build and Test | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake -DSIMDJSON_DEVELOPER_MODE=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DBUILD_SHARED_LIBS=OFF -DSIMDJSON_DO_NOT_USE_THREADS_NO_MATTER_WHAT=ON .. | |
| cmake --build . --verbose | |
| ctest -j4 --output-on-failure -LE explicitonly |