diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-31 01:38:22 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-01-31 14:43:00 +0300 |
commit | e1b735ffe422fdbddecb33448d254190d7bf9ec0 (patch) | |
tree | 8d7564bdc49870b27c327098f3b6b0821f5fbe79 /.github/workflows | |
parent | workflows/ci.yml: remove manual Docker builds (diff) | |
download | math-server-e1b735ffe422fdbddecb33448d254190d7bf9ec0.tar.gz math-server-e1b735ffe422fdbddecb33448d254190d7bf9ec0.zip |
update cmake-common
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8233a2..d71f3c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,15 +28,16 @@ jobs: platform: [x64, x86] configuration: [Debug, Release] include: - - {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} + - {os: windows-2016, toolset: msvc} + - {os: windows-2019, toolset: msvc} + - {os: ubuntu-18.04, toolset: gcc} exclude: # 32-bit Linux builds, meh. - {os: ubuntu-18.04, platform: x86} runs-on: '${{ matrix.os }}' - name: 'Build: ${{ matrix.toolset_id }} / ${{ matrix.platform }} / ${{ matrix.configuration }}' + name: 'Build: ${{ matrix.os }} / ${{ matrix.toolset }} / ${{ matrix.platform }} / ${{ matrix.configuration }}' env: + toolset: '${{ matrix.toolset }}' platform: '${{ matrix.platform }}' configuration: '${{ matrix.configuration }}' defaults: @@ -54,11 +55,11 @@ jobs: - name: Build run: | cd cmake - python -m project.ci.github.cmake --toolset '${{ matrix.toolset }}' --boost $env:BOOST_ROOT_1_72_0 --install -- -D MATH_SERVER_TESTS=ON + python -m project.ci.github.cmake --install -- -D MATH_SERVER_TESTS=ON - name: Upload the binaries uses: actions/upload-artifact@v2 with: - name: 'math-server-${{ runner.os }}-${{ matrix.toolset_id }}-${{ matrix.platform }}-${{ matrix.configuration }}' + name: 'math-server-${{ matrix.os }}-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: '${{ runner.workspace }}/install/' - name: Run unit tests run: ../install/bin/math-server-unit-tests |