Commit 2ea6961
committed
[更新 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` 变量。1 parent 5a6654f commit 2ea6961
File tree
3 files changed
+12
-5
lines changed- .github/workflows
- cmake
- scripts/windows
3 files changed
+12
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
| |||
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | | - | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
61 | | - | |
| 66 | + | |
62 | 67 | | |
0 commit comments