2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Correct the CI runner logic in YAML

This commit is contained in:
Christopher Kormanyos
2023-08-22 12:41:41 +02:00
parent 320d6f8ab7
commit a14f39ff50

View File

@@ -180,14 +180,13 @@ jobs:
run:
shell: cmd
env:
ARGS0: toolset=${{ matrix.toolset }} address-model=64 cxxstd=${{ matrix.standard0 }}
ARGS2: toolset=${{ matrix.toolset }} address-model=64 cxxstd=${{ matrix.standard2 }}
ARGS: toolset=${{ matrix.toolset }} address-model=64 cxxstd=${{ matrix.standard }}
ARGSLATEST: toolset=${{ matrix.toolset }} address-model=64 cxxstd=latest
strategy:
fail-fast: false
matrix:
toolset: [ msvc-14.0, msvc-14.2 ]
standard0: [ 14, latest ]
standard2: [ 14, 17 ]
standard: [ 14, 17 ]
suite: [ github_ci_block_1, github_ci_block_2 ]
steps:
- uses: actions/checkout@v3
@@ -216,13 +215,13 @@ jobs:
- name: Config info
run: config_info_travis
working-directory: ../boost-root/libs/config/test
- name: Test0
if: ${{ matrix.toolset == 'msvc-14.0' }}
run: ..\..\..\b2 --hash %ARGS0% define=CI_SUPPRESS_KNOWN_ISSUES debug-symbols=off ${{ matrix.suite }} pch=off
- name: Test std-14 vc140 and std-14-17 vc142
if: ${{ matrix.toolset != 'msvc-14.0' || matrix.standard != '17' }}
run: ..\..\..\b2 --hash %ARGS% define=CI_SUPPRESS_KNOWN_ISSUES debug-symbols=off ${{ matrix.suite }} pch=off
working-directory: ../boost-root/libs/math/test
- name: Test2
if: ${{ matrix.toolset == 'msvc-14.2' }}
run: ..\..\..\b2 --hash %ARGS2% define=CI_SUPPRESS_KNOWN_ISSUES debug-symbols=off ${{ matrix.suite }} pch=off
- name: Test std-latest vc140
if: ${{ matrix.toolset == 'msvc-14.0' && matrix.standard == '17' }}
run: ..\..\..\b2 --hash %ARGSLATEST% define=CI_SUPPRESS_KNOWN_ISSUES debug-symbols=off ${{ matrix.suite }} pch=off
working-directory: ../boost-root/libs/math/test
windows_gcc:
runs-on: windows-2019