mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 08:46:49 +08:00
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout). Updates `actions/checkout` from 4 to 5 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
name: MSYS2-CLANG-CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
windows-mingw:
|
|
name: ${{ matrix.msystem }}
|
|
runs-on: windows-latest
|
|
defaults:
|
|
run:
|
|
shell: msys2 {0}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- msystem: "MINGW64"
|
|
install: mingw-w64-x86_64-libxml2 mingw-w64-x86_64-cmake mingw-w64-x86_64-ninja mingw-w64-x86_64-clang
|
|
type: Release
|
|
- msystem: "MINGW32"
|
|
install: mingw-w64-i686-libxml2 mingw-w64-i686-cmake mingw-w64-i686-ninja mingw-w64-i686-clang
|
|
type: Release
|
|
env:
|
|
CMAKE_GENERATOR: Ninja
|
|
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: msys2/setup-msys2@v2
|
|
with:
|
|
update: true
|
|
msystem: ${{ matrix.msystem }}
|
|
install: ${{ matrix.install }}
|
|
- name: Prepare build dir
|
|
run: mkdir build
|
|
- name: Configure
|
|
run: cd build && cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DFASTFLOAT_TEST=ON ..
|
|
- name: Build
|
|
run: cmake --build build
|
|
- name: Run basic tests
|
|
run: cd build && ctest --output-on-failure -R basictest
|