mirror of https://github.com/axmolengine/axmol.git
Merge pull request #46 from c4games/win32-tools
Upgrade win32 compile tools to vs2019
This commit is contained in:
commit
33d3721c6a
|
@ -2,7 +2,7 @@ version: 1.0.{build}
|
|||
skip_tags: true
|
||||
skip_branch_with_pr: true
|
||||
image:
|
||||
- Visual Studio 2015
|
||||
- Visual Studio 2019
|
||||
environment:
|
||||
PYTHON: "C:\\Python27"
|
||||
PYTHON_VERSION: "2.7.13"
|
||||
|
@ -10,7 +10,7 @@ environment:
|
|||
matrix:
|
||||
- build_type: windows32_cmake_test
|
||||
- build_type: android_cpp_tests
|
||||
- build_type: android_lua_tests
|
||||
# - build_type: android_lua_tests
|
||||
# - build_type: android_cocos_new_test
|
||||
# - build_type: android_cpp_empty_test
|
||||
# - build_type: android_gen_libs
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
Set-PSDebug -Trace 1
|
||||
$python = "C:\\Python27\\python.exe"
|
||||
$python = "D:\\Python27\\python.exe"
|
||||
|
||||
Write-Host "Set environment"
|
||||
# gradlew
|
||||
|
@ -108,16 +108,16 @@ If ($env:build_type -eq "android_cpp_tests") {
|
|||
# if ($lastexitcode -ne 0) {throw} # mkdir return no-zero
|
||||
|
||||
Push-Location $env:APPVEYOR_BUILD_FOLDER\win32-build
|
||||
& cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
& cmake -A Win32 -DCMAKE_BUILD_TYPE=Release ..
|
||||
if ($lastexitcode -ne 0) {throw}
|
||||
|
||||
& cmake --build . --config Release --target cpp-tests
|
||||
if ($lastexitcode -ne 0) {throw}
|
||||
|
||||
& 7z a release_win32.7z $env:APPVEYOR_BUILD_FOLDER\win32-build\bin\
|
||||
if ($lastexitcode -ne 0) {throw}
|
||||
# & 7z a release_win32.7z $env:APPVEYOR_BUILD_FOLDER\win32-build\bin\
|
||||
# if ($lastexitcode -ne 0) {throw}
|
||||
|
||||
Push-AppveyorArtifact release_win32.7z
|
||||
# Push-AppveyorArtifact release_win32.7z
|
||||
Pop-Location
|
||||
}
|
||||
Else {
|
||||
|
|
Loading…
Reference in New Issue