Skip to content

Commit

Permalink
build for msvc 2015 and 2019.
Browse files Browse the repository at this point in the history
  • Loading branch information
antony-jr committed Dec 9, 2023
1 parent 3d904ca commit ee7837a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ on:
jobs:
windows-msvc:
runs-on: windows-2019
name: windows-msvc${{ matrix.arch }}-qt-${{ matrix.qt_version }}-${{ matrix.build_type }}
name: windows-msvc-v${{ matrix.toolset }}-${{ matrix.arch }}-qt-${{ matrix.qt_version }}-${{ matrix.build_type }}
strategy:
fail-fast: false
matrix:
qt_version: [5.15.2]
arch: [x64, x86]
build_type: [Release, Debug]
toolset: [14.0, 14.2]

steps:
- name: Checkout
Expand All @@ -27,6 +28,7 @@ jobs:
uses: TheMrMilchmann/setup-msvc-dev@v2
with:
arch: ${{ matrix.arch }}
toolset: ${{ matrix.toolset }}

- name: Install Conan
id: conan
Expand Down Expand Up @@ -58,13 +60,13 @@ jobs:
- name: Zip Files
run: |
cd ${{ github.workspace }}/output/
7z a ${{ github.workspace }}/upload/windows-msvc-qt-${{ matrix.qt_version }}-${{ matrix.arch }}-${{ matrix.build_type }}.zip QArchive
7z a ${{ github.workspace }}/upload/windows-msvc-v${{ matrix.toolset }}-qt-${{ matrix.qt_version }}-${{ matrix.arch }}-${{ matrix.build_type }}.zip QArchive
- name: Upload Bundles
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace }}/upload/windows-msvc-qt-${{ matrix.qt_version }}-${{ matrix.arch }}-${{ matrix.build_type }}.zip
file: ${{ github.workspace }}/upload/windows-msvc-v${{ matrix.toolset }}-qt-${{ matrix.qt_version }}-${{ matrix.arch }}-${{ matrix.build_type }}.zip
tag: prebuilt
overwrite: true
prerelease: true
Expand Down

0 comments on commit ee7837a

Please sign in to comment.