Debian Codegraph @

.github/workflows/vs17-ci.yml

raw
1 name: VS17-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 -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination
23 - name: build
24 run: |
25 cmake --build build --verbose --config ${{matrix.cfg}} --parallel
26 - name: test
27 run: |
28 cd build &&
29 ctest --output-on-failure -C ${{matrix.cfg}}
30 - name: install
31 run: |
32 cd build &&
33 cmake --install .
34 - name: test install (find)
35 run: |
36 cd tests/installation_tests/find &&
37 cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination &&
38 cmake --build build --verbose --config ${{matrix.cfg}} --parallel
39 - name: test install (issue 72)
40 run: |
41 cd tests/installation_tests/issue72_installation &&
42 cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination &&
43 cmake --build build --verbose --config ${{matrix.cfg}} --parallel