make sure CI runs Win32 compilations

This commit is contained in:
Joao Paulo Magalhaes 2020-11-16 11:58:38 +00:00
parent c4693cc86f
commit bb03cb615c
2 changed files with 30 additions and 36 deletions

View File

@ -10,22 +10,19 @@ jobs:
fail-fast: false
matrix:
include:
- vs: VS16Win64
- vs: VS16Win32
- {gen: Visual Studio 16 2019, arch: Win32}
- {gen: Visual Studio 16 2019, arch: x64}
steps:
- uses: actions/checkout@v2
- name: 'Run CMake with VS16'
uses: lukka/run-cmake@v2
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.0
with:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
cmakeBuildType: Release
buildWithCMake: true
cmakeGenerator: ${{matrix.vs}}
cmakeAppendedArgs: -DFASTFLOAT_TEST=ON
buildWithCMakeArgs: --config Release
- name: 'Run CTest'
run: ctest -C Release --output-on-failure -R basictest
working-directory: "${{ github.workspace }}/../../_temp/windows"
cmake-version: '3.9.x'
- name: Prepare build dir
run: mkdir build
- name: Configure
run: cd build && cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -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

View File

@ -10,22 +10,19 @@ jobs:
fail-fast: false
matrix:
include:
- vs: VS16Win64
- vs: VS16Win32
- {gen: Visual Studio 16 2019, arch: Win32}
- {gen: Visual Studio 16 2019, arch: x64}
steps:
- uses: actions/checkout@v2
- name: 'Run CMake with VS16'
uses: lukka/run-cmake@v2
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.0
with:
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeListsTxtPath: '${{ github.workspace }}/CMakeLists.txt'
buildDirectory: "${{ github.workspace }}/../../_temp/windows"
cmakeBuildType: Release
buildWithCMake: true
cmakeGenerator: ${{matrix.vs}}
cmakeAppendedArgs: -T ClangCL -DFASTFLOAT_TEST=ON
buildWithCMakeArgs: --config Release
- name: 'Run CTest'
run: ctest -C Release -R basictest --output-on-failure
working-directory: "${{ github.workspace }}/../../_temp/windows"
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