mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-06 16:56:57 +08:00
make sure CI runs Win32 compilations
This commit is contained in:
parent
c4693cc86f
commit
bb03cb615c
29
.github/workflows/vs16-ci.yml
vendored
29
.github/workflows/vs16-ci.yml
vendored
@ -10,22 +10,19 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- vs: VS16Win64
|
- {gen: Visual Studio 16 2019, arch: Win32}
|
||||||
- vs: VS16Win32
|
- {gen: Visual Studio 16 2019, arch: x64}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: 'Run CMake with VS16'
|
- name: Setup cmake
|
||||||
uses: lukka/run-cmake@v2
|
uses: jwlawson/actions-setup-cmake@v1.0
|
||||||
with:
|
with:
|
||||||
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
cmake-version: '3.9.x'
|
||||||
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
|
- name: Prepare build dir
|
||||||
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
|
run: mkdir build
|
||||||
cmakeBuildType: Release
|
- name: Configure
|
||||||
buildWithCMake: true
|
run: cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -DFASTFLOAT_TEST=ON ..
|
||||||
cmakeGenerator: ${{matrix.vs}}
|
- name: Build
|
||||||
cmakeAppendedArgs: -DFASTFLOAT_TEST=ON
|
run: cmake --build build --configuration Release
|
||||||
buildWithCMakeArgs: --config Release
|
- name: Run basic tests
|
||||||
|
run: cd build && ctest -C Release --output-on-failure -R basictest
|
||||||
- name: 'Run CTest'
|
|
||||||
run: ctest -C Release --output-on-failure -R basictest
|
|
||||||
working-directory: "${{ github.workspace }}/../../_temp/windows"
|
|
||||||
|
|||||||
29
.github/workflows/vs16-clang-ci.yml
vendored
29
.github/workflows/vs16-clang-ci.yml
vendored
@ -10,22 +10,19 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- vs: VS16Win64
|
- {gen: Visual Studio 16 2019, arch: Win32}
|
||||||
- vs: VS16Win32
|
- {gen: Visual Studio 16 2019, arch: x64}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: 'Run CMake with VS16'
|
- name: Setup cmake
|
||||||
uses: lukka/run-cmake@v2
|
uses: jwlawson/actions-setup-cmake@v1.0
|
||||||
with:
|
with:
|
||||||
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
|
cmake-version: '3.9.x'
|
||||||
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
|
- name: Prepare build dir
|
||||||
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
|
run: mkdir build
|
||||||
cmakeBuildType: Release
|
- name: Configure
|
||||||
buildWithCMake: true
|
run: cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -T ClangCL -DFASTFLOAT_TEST=ON ..
|
||||||
cmakeGenerator: ${{matrix.vs}}
|
- name: Build
|
||||||
cmakeAppendedArgs: -T ClangCL -DFASTFLOAT_TEST=ON
|
run: cmake --build build --configuration Release
|
||||||
buildWithCMakeArgs: --config Release
|
- name: Run basic tests
|
||||||
|
run: cd build && ctest -C Release --output-on-failure -R basictest
|
||||||
- name: 'Run CTest'
|
|
||||||
run: ctest -C Release -R basictest --output-on-failure
|
|
||||||
working-directory: "${{ github.workspace }}/../../_temp/windows"
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user