mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-08 01:36:49 +08:00
29 lines
819 B
YAML
29 lines
819 B
YAML
name: VS16-CLANG-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:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup cmake
|
|
uses: jwlawson/actions-setup-cmake@v1.0
|
|
with:
|
|
cmake-version: '3.9.x'
|
|
- name: Prepare build dir
|
|
run: mkdir build
|
|
- name: Configure
|
|
run: cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -T ClangCL -DFASTFLOAT_TEST=ON ..
|
|
- name: Build
|
|
run: cmake --build build --configuration Release
|
|
- name: Run basic tests
|
|
run: cd build && ctest -C Release --output-on-failure -R basictest
|