forked from jurplel/kimageformats-binaries
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dependabot配置和GitHub Actions工作流更新]: 添加Dependabot版本更新配置,并更新QtApng和Kima…
…geformats工作流 - 添加`.github/dependabot.yml`文件以启用Dependabot版本更新,配置为每周检查一次`github-actions`的依赖项 - 更新`QtApng.yml`工作流,增加对macOS 13和Windows 2019的支持,升级Qt版本至6.8.1,并调整构建架构选项 - 更新`kimageformats.yml`工作流,增加对macOS 13和Windows 2019的支持,升级Qt版本至6.8.1,并调整构建架构选项 - 移除`QtApng.yml`和`kimageformats.yml`工作流中对`master`分支的特定操作,如zip打包和上传到连续发布 - 移除`kimageformats.yml`工作流中的`vcpkgGitCommitId`配置,以使用最新的vcpkg版本
- Loading branch information
Showing
3 changed files
with
41 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,9 @@ on: | |
pull_request: | ||
branches: [master] | ||
|
||
env: | ||
MACOSX_DEPLOYMENT_TARGET: 12.0 | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
|
@@ -14,22 +17,27 @@ jobs: | |
include: | ||
- os: ubuntu-20.04 | ||
vers: '5.15.2' | ||
- os: ubuntu-latest | ||
vers: '6.8.1' | ||
- os: macos-13 | ||
vers: '5.15.2' | ||
- os: windows-2022 | ||
- os: macos-13 | ||
vers: '6.8.1' | ||
buildArch: 'Universal' | ||
- os: windows-2019 | ||
vers: '5.15.2' | ||
arch: 'win32_msvc2019' | ||
buildArch: 'X86' | ||
- os: windows-2022 | ||
vers: '6.7.3' | ||
- os: windows-2019 | ||
vers: '5.15.2' | ||
arch: 'win64_msvc2019_64' | ||
- os: windows-2022 | ||
vers: '6.7.3' | ||
arch: 'win64_msvc2019_arm64' | ||
vers: '6.8.1' | ||
arch: 'win64_msvc2022_64' | ||
- os: windows-2022 | ||
vers: '6.8.1' | ||
arch: 'win64_msvc2022_arm64_cross_compiled' | ||
buildArch: 'Arm64' | ||
- os: macos-14 | ||
vers: '6.7.3' | ||
buildArch: 'Universal' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -47,23 +55,7 @@ jobs: | |
buildArch: ${{ matrix.buildArch }} | ||
|
||
- name: 'Upload Artifact' | ||
if: github.ref != 'refs/heads/master' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: qtapng-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }} | ||
path: QtApng/output | ||
|
||
- name: 'Zip Artifact' | ||
if: github.ref == 'refs/heads/master' | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
path: QtApng/output/ | ||
filename: "qtapng-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}.zip" | ||
|
||
- name: 'Upload to continous release' | ||
if: github.ref == 'refs/heads/master' | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: 'cont' | ||
files: qtapng-*.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ on: | |
|
||
env: | ||
VCPKG_BINARY_SOURCES: 'clear;default,readwrite' | ||
MACOSX_DEPLOYMENT_TARGET: 12.0 | ||
|
||
jobs: | ||
build: | ||
|
@@ -17,22 +18,27 @@ jobs: | |
include: | ||
- os: ubuntu-20.04 | ||
vers: '5.15.2' | ||
- os: ubuntu-latest | ||
vers: '6.8.1' | ||
- os: macos-13 | ||
vers: '5.15.2' | ||
- os: windows-2022 | ||
- os: macos-13 | ||
vers: '6.8.1' | ||
buildArch: 'Universal' | ||
- os: windows-2019 | ||
vers: '5.15.2' | ||
arch: 'win32_msvc2019' | ||
buildArch: 'X86' | ||
- os: windows-2022 | ||
vers: '6.7.3' | ||
- os: windows-2019 | ||
vers: '5.15.2' | ||
arch: 'win64_msvc2019_64' | ||
- os: windows-2022 | ||
vers: '6.7.3' | ||
arch: 'win64_msvc2019_arm64' | ||
vers: '6.8.1' | ||
arch: 'win64_msvc2022_64' | ||
- os: windows-2022 | ||
vers: '6.8.1' | ||
arch: 'win64_msvc2022_arm64_cross_compiled' | ||
buildArch: 'Arm64' | ||
- os: macos-14 | ||
vers: '6.7.3' | ||
buildArch: 'Universal' | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -56,23 +62,7 @@ jobs: | |
buildArch: ${{ matrix.buildArch }} | ||
|
||
- name: 'Upload Artifact' | ||
if: github.ref != 'refs/heads/master' | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: kimageformats-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }} | ||
path: kimageformats/output | ||
|
||
- name: 'Zip Artifact' | ||
if: github.ref == 'refs/heads/master' | ||
uses: thedoctor0/[email protected] | ||
with: | ||
type: 'zip' | ||
path: kimageformats/output/ | ||
filename: "kimageformats-${{ matrix.os }}-${{ matrix.vers }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}.zip" | ||
|
||
- name: 'Upload to continous release' | ||
if: github.ref == 'refs/heads/master' | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: 'cont' | ||
files: kimageformats-*.zip |