aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-08 13:15:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-08 14:55:40 +0300
commite782dcdbe31f5120958f73826e952a8f87a7c58a (patch)
treec298fb0ca88c40059d26f06c5c57c97878c3f7a5 /.github/workflows
parentworkflows/ci: remove redundant parameter (diff)
downloadmath-server-e782dcdbe31f5120958f73826e952a8f87a7c58a.tar.gz
math-server-e782dcdbe31f5120958f73826e952a8f87a7c58a.zip
workflows/ci: in terms of toolsets, not runner images
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml14
1 files changed, 7 insertions, 7 deletions
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