diff --git a/.github/workflows/QtApng.yml b/.github/workflows/QtApng.yml index e001317..0dd3c17 100644 --- a/.github/workflows/QtApng.yml +++ b/.github/workflows/QtApng.yml @@ -3,6 +3,8 @@ on: push: branches: [ master ] workflow_dispatch: + pull_request: + branches: [ master ] jobs: build: @@ -23,6 +25,13 @@ jobs: - os: macos-latest vers: '6.2.2' forceWin32: 'false' + - os: windows-2019 + vers: '6.4.3' + forceWin32: 'false' + arch: 'win64_msvc2019_64' + - os: macos-latest + vers: '6.4.3' + forceWin32: 'false' steps: - uses: actions/checkout@v2 @@ -46,6 +55,7 @@ jobs: filename: "qtapng-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}.zip" - name: 'Upload to continous release' + if: github.event_name != 'pull_request' uses: softprops/action-gh-release@v1 with: tag_name: 'cont' diff --git a/.github/workflows/kimageformats.yml b/.github/workflows/kimageformats.yml index dd241f6..50ba58f 100644 --- a/.github/workflows/kimageformats.yml +++ b/.github/workflows/kimageformats.yml @@ -1,14 +1,16 @@ name: Build KImageFormats on: push: - branches: [ master ] + branches: [master] workflow_dispatch: + pull_request: + branches: [master] jobs: build: runs-on: ${{ matrix.os }} strategy: - matrix: + matrix: include: - os: ubuntu-20.04 vers: '5.15.2' @@ -25,6 +27,13 @@ jobs: - os: macos-latest vers: '6.2.2' universalBinary: 'true' + - os: windows-2019 + vers: '6.4.3' + forceWin32: 'false' + arch: 'win64_msvc2019_64' + - os: macos-latest + vers: '6.4.3' + universalBinary: 'true' steps: - uses: actions/checkout@v2 @@ -56,7 +65,8 @@ jobs: filename: "kimageformats-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}.zip" - name: 'Upload to continous release' + if: github.event_name != 'pull_request' uses: softprops/action-gh-release@v1 with: tag_name: 'cont' - files: kimageformats-*.zip + files: kimageformats-*.zip