Debian Codegraph @

.github/workflows/vs17-cxx20.yml

raw
1 name: VS17-CI C++20
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}}
23 -DFASTFLOAT_CXX_STANDARD=20
24 -DFASTFLOAT_TEST=ON
25 -DFASTFLOAT_CONSTEXPR_TESTS=ON
26 -DCMAKE_INSTALL_PREFIX:PATH=destination
27 - name: build
28 run: |
29 cmake --build build --verbose --config ${{matrix.cfg}} --parallel
30 - name: test
31 run: |
32 cd build &&
33 ctest --output-on-failure -C ${{matrix.cfg}}