mirror of
https://github.com/fastfloat/fast_float.git
synced 2026-10-28 18:07:16 +08:00
32 lines
890 B
YAML
32 lines
890 B
YAML
name: VS18-ARM-CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ci:
|
|
name: vs18/${{matrix.arch}}/${{matrix.cfg}}
|
|
runs-on: windows-2025
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- {gen: Visual Studio 18 2026, arch: ARM64, cfg: Release}
|
|
- {gen: Visual Studio 18 2026, arch: ARM64, cfg: Debug}
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v7
|
|
- name: configure
|
|
run: |
|
|
cmake -S . -B build -G "${{matrix.gen}}" -A ${{matrix.arch}} -DCMAKE_CROSSCOMPILING=1 -DFASTFLOAT_CXX_STANDARD=14 -DFASTFLOAT_TEST=ON
|
|
- name: build
|
|
run: |
|
|
cmake --build build --verbose --config ${{matrix.cfg}} --parallel
|
|
# disabled because it requires a toolchain
|
|
#- name: test
|
|
# run: |
|
|
# cd build &&
|
|
# ctest --output-on-failure -C ${{matrix.cfg}}
|