From e782dcdbe31f5120958f73826e952a8f87a7c58a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 8 May 2021 13:15:53 +0300 Subject: workflows/ci: in terms of toolsets, not runner images --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa61f6c..43b3229 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,18 +24,18 @@ jobs: build: strategy: matrix: - os: [ubuntu-20.04, windows-2016, windows-2019] + toolset: [gcc, vs2017, vs2019] platform: [x64, x86] configuration: [Debug, Release] include: - - {os: windows-2016, toolset: msvc} - - {os: windows-2019, toolset: msvc} - - {os: ubuntu-20.04, toolset: gcc} + - {toolset: gcc, os: ubuntu-20.04} + - {toolset: vs2017, os: windows-2016} + - {toolset: vs2019, os: windows-2019} exclude: # 32-bit Linux builds, meh. - - {os: ubuntu-20.04, platform: x86} + - {toolset: gcc, platform: x86} runs-on: '${{ matrix.os }}' - name: 'Build: ${{ matrix.os }} / ${{ matrix.toolset }} / ${{ matrix.platform }} / ${{ matrix.configuration }}' + name: 'Build: ${{ matrix.toolset }} / ${{ matrix.platform }} / ${{ matrix.configuration }}' env: TOOLSET: '${{ matrix.toolset }}' PLATFORM: '${{ matrix.platform }}' @@ -64,7 +64,7 @@ jobs: - name: Upload binaries uses: actions/upload-artifact@v2 with: - name: 'math-server-${{ matrix.os }}-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' + name: 'math-server-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}' path: '${{ runner.workspace }}/build/install/' if-no-files-found: error - name: Test -- cgit v1.2.3