mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-31 19:02:16 +08:00
35 lines
988 B
YAML
35 lines
988 B
YAML
name: VS16-CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: windows-vs16
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- {gen: Visual Studio 16 2019, arch: Win32}
|
|
- {gen: Visual Studio 16 2019, arch: x64}
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v2
|
|
- name: Configure
|
|
run: |
|
|
mkdir build
|
|
cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_TEST=ON ..
|
|
- name: Build
|
|
run: cmake --build build --config Release --parallel
|
|
- name: Run tests
|
|
run: |
|
|
cd build
|
|
ctest -C Release --output-on-failure
|
|
- name: Install
|
|
run: |
|
|
cmake --install build --config Release
|
|
- name: Test Installation
|
|
run: |
|
|
cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -B build_install_test tests/installation_tests/find
|
|
cmake --build build_install_test --config Release
|