mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-02-06 17:59:52 +08:00
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/checkout` from 5.0.1 to 6.0.1 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v5.0.1...v6.0.1) Updates `actions/upload-artifact` from 5 to 6 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: actions/upload-artifact dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: VS17-CI C++20
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ci:
|
|
name: vs17/${{matrix.arch}}/${{matrix.cfg}}
|
|
runs-on: windows-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Release}
|
|
- {gen: Visual Studio 17 2022, arch: Win32, cfg: Debug}
|
|
- {gen: Visual Studio 17 2022, arch: x64, cfg: Release}
|
|
- {gen: Visual Studio 17 2022, arch: x64, cfg: Debug}
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v6.0.1
|
|
- name: configure
|
|
run: >-
|
|
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}}
|
|
-DFASTFLOAT_CXX_STANDARD=20
|
|
-DFASTFLOAT_TEST=ON
|
|
-DFASTFLOAT_CONSTEXPR_TESTS=ON
|
|
-DCMAKE_INSTALL_PREFIX:PATH=destination
|
|
- name: build
|
|
run: |
|
|
cmake --build build --verbose --config ${{matrix.cfg}} --parallel
|
|
- name: test
|
|
run: |
|
|
cd build &&
|
|
ctest --output-on-failure -C ${{matrix.cfg}}
|