aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-08 14:38:38 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-08 14:38:38 +0300
commite6cdd2f44fd6cf0056a1016562ffdc434d2b287b (patch)
treefb8f84fb30f721d8b7a64909b6809d581765fa2b /.github/workflows
parentworkflows/ci: remove redundant parameter (diff)
downloadwinapi-common-e6cdd2f44fd6cf0056a1016562ffdc434d2b287b.tar.gz
winapi-common-e6cdd2f44fd6cf0056a1016562ffdc434d2b287b.zip
workflows/ci: build using VS 2015 also
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4f7a09b..454d369 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -24,17 +24,18 @@ jobs:
build:
strategy:
matrix:
- # MinGW builds are done on Linux, since it's more up-to-date there, and
- # it's much faster.
- os: [ubuntu-20.04, windows-2016, windows-2019]
+ toolset: [mingw, vs2015, vs2017, vs]
platform: [x64, x86]
configuration: [Debug, RelWithDebInfo]
include:
- - {os: windows-2016, toolset: msvc}
- - {os: windows-2019, toolset: msvc}
- - {os: ubuntu-20.04, toolset: mingw}
+ # MinGW builds are done on Linux, since it's more up-to-date there,
+ # and it's much faster.
+ - {toolset: mingw, os: ubuntu-20.04}
+ - {toolset: vs2015, os: windows-2016}
+ - {toolset: vs2017, os: windows-2016}
+ - {toolset: vs, os: windows-2019}
runs-on: '${{ matrix.os }}'
- name: 'Build: ${{ matrix.os }} / ${{ matrix.toolset }} / ${{ matrix.platform }} / ${{ matrix.configuration }}'
+ name: 'Build: ${{ matrix.toolset }} / ${{ matrix.platform }} / ${{ matrix.configuration }}'
defaults:
run:
shell: pwsh
@@ -68,7 +69,7 @@ jobs:
- name: Upload binaries
uses: actions/upload-artifact@v2
with:
- name: 'winapi-common-${{ matrix.os }}-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
+ name: 'winapi-common-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: '${{ runner.workspace }}/build/install/'
if-no-files-found: error
- name: Test
@@ -77,7 +78,7 @@ jobs:
- name: Upload test logs
uses: actions/upload-artifact@v2
with:
- name: 'test_logs-${{ matrix.os }}-${{ matrix.platform }}-${{ matrix.configuration }}'
+ name: 'test_logs-${{ matrix.toolset }}-${{ matrix.platform }}-${{ matrix.configuration }}'
path: |
${{ runner.workspace }}/build/**/*_tests.log
${{ runner.workspace }}/build/**/*_report.txt