| 1 |
name: VS17-CLANG-CI |
| 2 |
|
| 3 |
on: [push, pull_request] |
| 4 |
|
| 5 |
jobs: |
| 6 |
ci: |
| 7 |
name: vs17/${{matrix.arch}}/${{matrix.cfg}} |
| 8 |
runs-on: windows-latest |
| 9 |
strategy: |
| 10 |
fail-fast: false |
| 11 |
matrix: |
| 12 |
include: |
| 13 |
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Release} |
| 14 |
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Debug} |
| 15 |
- {gen: Visual Studio 17 2022, arch: x64, cfg: Release} |
| 16 |
- {gen: Visual Studio 17 2022, arch: x64, cfg: Debug} |
| 17 |
steps: |
| 18 |
- name: checkout |
| 19 |
uses: actions/checkout@v5 |
| 20 |
- name: Configure |
| 21 |
run: | |
| 22 |
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_BENCHMARKS=ON -T ClangCL -DFASTFLOAT_TEST=ON |
| 23 |
- name: Build |
| 24 |
run: cmake --build build --config ${{matrix.cfg}} --parallel --verbose |
| 25 |
- name: Run basic tests |
| 26 |
run: | |
| 27 |
cd build |
| 28 |
ctest -C ${{matrix.cfg}} --output-on-failure -R basictest |