From e1b735ffe422fdbddecb33448d254190d7bf9ec0 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 31 Jan 2021 01:38:22 +0300 Subject: update cmake-common --- .github/workflows/ci.yml | 13 +++++++------ cmake | 2 +- 2 files changed, 8 insertions(+), 7 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 diff --git a/cmake b/cmake index 0ad425c..d4673a2 160000 --- a/cmake +++ b/cmake @@ -1 +1 @@ -Subproject commit 0ad425c1aec96756309361611cd2003c15afbd36 +Subproject commit d4673a2ff058529488dddf2e0520ee68ec88a0c7 -- cgit v1.2.3