-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[更新 GitHub Actions 工作流和脚本]: 改进 CI/CD 配置和 Windows 开发环境设置
- 更新了 GitHub Actions 工作流文件 `qmake.yml`,将 Windows 操作系统的版本从 `windows-2019` 更新为 `windows-latest`,以确保使用最新的 Windows 版本进行构建。 - 在 `qmake.yml` 中简化了 `setVsDev.ps1` 脚本的调用,移除了版本范围和架构参数,以适应脚本的最新更改。 - 在 `qt.cmake` 文件中添加了 `-DQT_DEPRECATED_WARNINGS` 编译定义,以启用 Qt 的弃用警告。 - 在 `setVsDev.ps1` 脚本中,增加了对 ARM64 架构的支持,将 ARM64 架构的主机架构设置为 x64,并更新了 `Enter-VsDevShell` 命令行参数,使其能够根据 `$Host_Arch` 变量动态设置 `-host_arch` 参数。 - 更新了 `setVsDev.ps1` 脚本中的 Visual Studio 安装路径,从 `C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise` 改为 `C:\Program Files\Microsoft Visual Studio\2022\Enterprise`,以匹配新的安装路径,并确保在不同的 Visual Studio 安装路径下,`Enter-VsDevShell` 命令行参数能够正确地使用 `$Arch` 和 `$Host_Arch` 变量。
- Loading branch information
Showing
3 changed files
with
12 additions
and
5 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
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
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