Skip to content

Commit

Permalink
Adding clangcl to CI (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire authored Feb 3, 2023
1 parent 65f7af6 commit ef2adac
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/vs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,20 @@ jobs:
fail-fast: false
matrix:
include:
- {gen: Visual Studio 17 2022, arch: Win32, static: ON}
- {gen: Visual Studio 17 2022, arch: Win32, static: OFF}
- {gen: Visual Studio 17 2022, arch: x64, static: ON}
- {gen: Visual Studio 17 2022, arch: x64, static: OFF}
- {gen: Visual Studio 17 2022, mode: , arch: Win32, static: ON}
- {gen: Visual Studio 17 2022, mode: , arch: Win32, static: OFF}
- {gen: Visual Studio 17 2022, mode: , arch: x64, static: ON}
- {gen: Visual Studio 17 2022, mode: , arch: x64, static: OFF}
- {gen: Visual Studio 17 2022, mode: -T ClangCL, arch: Win32, static: ON}
- {gen: Visual Studio 17 2022, mode: -T ClangCL, arch: Win32, static: OFF}
- {gen: Visual Studio 17 2022, mode: -T ClangCL, arch: x64, static: ON}
- {gen: Visual Studio 17 2022, mode: -T ClangCL, arch: x64, static: OFF}
steps:
- name: checkout
uses: actions/checkout@v2
- name: Configure
run: |
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -DSIMDJSON_DEVELOPER_MODE=ON -DSIMDJSON_COMPETITION=OFF -DSIMDJSON_BUILD_STATIC=${{matrix.static}} -DSTREAMVBYTE_ENABLE_EXAMPLES=ON -DSTREAMVBYTE_ENABLE_TESTS=ON -B build
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} "${{matrix.mode}}" -DSIMDJSON_DEVELOPER_MODE=ON -DSIMDJSON_COMPETITION=OFF -DSIMDJSON_BUILD_STATIC=${{matrix.static}} -DSTREAMVBYTE_ENABLE_EXAMPLES=ON -DSTREAMVBYTE_ENABLE_TESTS=ON -B build
- name: Build Debug
run: cmake --build build --config Debug --verbose
- name: Build Release
Expand All @@ -40,4 +44,4 @@ jobs:
- name: Run Debug tests
run: |
cd build
ctest -C Debug --output-on-failure
ctest -C Debug --output-on-failure

0 comments on commit ef2adac

Please sign in to comment.