diff options
author | crupest <crupest@outlook.com> | 2019-05-24 23:49:40 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2019-05-24 23:49:40 +0800 |
commit | 62400fbb5a795bd490a313443401a1012e7917c2 (patch) | |
tree | e88c430a4aafdfb8c14d615b92faff5676d84550 | |
parent | b6db663269201fa14a6a4aa1b9042645a9e8f859 (diff) | |
download | cru-62400fbb5a795bd490a313443401a1012e7917c2.tar.gz cru-62400fbb5a795bd490a313443401a1012e7917c2.tar.bz2 cru-62400fbb5a795bd490a313443401a1012e7917c2.zip |
CI use vs2019.
-rw-r--r-- | azure-pipelines.yml | 2 | ||||
-rw-r--r-- | tools/win_build.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b5e9f490..24e74df2 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -4,7 +4,7 @@ trigger: jobs: - job: Windows_Build pool: - vmImage: 'VS2017-Win2016' + vmImage: 'windows-2019' strategy: matrix: x86_debug: diff --git a/tools/win_build.py b/tools/win_build.py index 30d0425d..6850d82a 100644 --- a/tools/win_build.py +++ b/tools/win_build.py @@ -25,7 +25,7 @@ def build_cru_ui(): 'x64': 'x64' } - subprocess.check_call('cmake -S . -B build -G "Visual Studio 15 2017" -A {arch}' + subprocess.check_call('cmake -S . -B build -G "Visual Studio 16 2019" -A {arch}' .format(arch=generater_vs_arch_map[args.arch]), stdout=sys.stdout, stderr=sys.stderr) |