diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-24 17:47:30 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-24 19:05:49 +0300 |
commit | 47e27962d4845880c3088cecf12e72bf0bcdedd8 (patch) | |
tree | 04e7c21d06a74ee754e232589e1a2b77fdfa5fcf /.github/workflows/ci.yml | |
parent | README: update (diff) | |
download | math-server-47e27962d4845880c3088cecf12e72bf0bcdedd8.tar.gz math-server-47e27962d4845880c3088cecf12e72bf0bcdedd8.zip |
workflows/ci.yml: tweaks
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2cea12a..9e7bc5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,15 +28,14 @@ jobs: platform: [x64, x86] configuration: [Debug, Release] include: - # Prettier run names. - - {os: windows-2016, name: VS 2017} - - {os: windows-2019, name: VS 2019} - - {os: ubuntu-18.04, name: Ubuntu} + - {os: windows-2016, toolset: msvc, toolset_id: vs2017} + - {os: windows-2019, toolset: msvc, toolset_id: vs2019} + - {os: ubuntu-18.04, toolset: gcc, toolset_id: gcc} exclude: # 32-bit Linux builds, meh. - {os: ubuntu-18.04, platform: x86} runs-on: '${{ matrix.os }}' - name: 'Build: ${{ matrix.name }} / ${{ matrix.platform }} / ${{ matrix.configuration }}' + name: 'Build: ${{ matrix.toolset_id }} / ${{ matrix.platform }} / ${{ matrix.configuration }}' env: platform: '${{ matrix.platform }}' configuration: '${{ matrix.configuration }}' @@ -55,11 +54,11 @@ jobs: - name: Build run: | cd cmake - python -m project.ci.github.cmake --boost $env:BOOST_ROOT_1_72_0 --install -- -D MATH_SERVER_TESTS=ON + python -m project.ci.github.cmake --toolset '${{ matrix.toolset }}' --boost $env:BOOST_ROOT_1_72_0 --install -- -D MATH_SERVER_TESTS=ON - name: Upload the binaries uses: actions/upload-artifact@v2 with: - name: 'math-server-${{ matrix.os }}-${{ matrix.platform }}-${{ matrix.configuration }}' + name: 'math-server-${{ runner.os }}-${{ matrix.toolset_id }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: '${{ runner.workspace }}/install/' - name: Run unit tests run: ../install/bin/math-server-unit-tests |