mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-08 01:36:49 +08:00
25 lines
656 B
YAML
25 lines
656 B
YAML
name: VS17-CI C++20
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: windows-vs17
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- {gen: Visual Studio 17 2022, arch: Win32}
|
|
- {gen: Visual Studio 17 2022, arch: x64}
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
- name: Use cmake
|
|
run: |
|
|
mkdir build &&
|
|
cd build &&
|
|
cmake ${{matrix.cxx}} ${{matrix.arch}} -DCMAKE_CXX_STANDARD=20 -DFASTFLOAT_TEST=ON -DCMAKE_INSTALL_PREFIX:PATH=destination .. &&
|
|
cmake --build . --verbose &&
|
|
ctest --output-on-failure
|