1 Star 0 Fork 0

HehuauPing/czml-writer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.appveyor.yml 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
image: Visual Studio 2019
configuration: Release
platform: Any CPU
environment:
JAVA_HOME: '%ProgramFiles%\Java\jdk1.8.0'
GRADLE_OPTS: '-Dorg.gradle.internal.launcher.welcomeMessageEnabled=false -Dorg.gradle.daemon=false'
cache:
- '%ProgramData%\chocolatey\bin -> .appveyor.yml'
- '%ProgramData%\chocolatey\lib -> .appveyor.yml'
- DotNet\packages -> DotNet\**\packages.config
- '%LocalAppData%\NuGet\v3-cache'
- '%UserProfile%\.gradle\wrapper -> Java\gradle\wrapper\gradle-wrapper.properties'
install:
- choco install gitversion.portable -pre -y
before_build:
- cmd: nuget restore DotNet\CesiumLanguageWriter.sln
- ps: gitversion /l console /output buildserver /updateAssemblyInfo DotNet\CesiumLanguageWriter\Properties\AssemblyInfo.cs
build:
project: DotNet\CesiumLanguageWriter.sln
publish_nuget: true
parallel: true
verbosity: minimal
after_build:
- ps: |
(gc Java\gradle.properties) | % { $_ -replace "^version = .*$", "version = $env:GitVersion_NuGetVersion" } | sc Java\gradle.properties
.\Java\gradlew.bat -p Java assemble
gci Java\CesiumLanguageWriter\build\libs\*.jar | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
test:
assemblies:
- DotNet\CesiumLanguageWriterTests\bin\$(configuration)\CesiumLanguageWriterTests.dll
after_test:
- ps: |
7z a ValidationDotNet.zip (gci DotNet -Recurse -Include ValidationDocument.czml,ValidationDocument*.js).FullName
Push-AppveyorArtifact ValidationDotNet.zip
.\Java\gradlew.bat -p Java check
$wc = New-Object System.Net.WebClient
$url = "https://ci.appveyor.com/api/testresults/junit/$env:APPVEYOR_JOB_ID"
gci Java\CesiumLanguageWriterTests\build\test-results\test\*.xml | % { $wc.UploadFile($url, $_) }
7z a ValidationJava.zip (gci Java -Recurse -Include ValidationDocument.czml,ValidationDocument*.js).FullName
Push-AppveyorArtifact ValidationJava.zip
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/luckilyhhp/czml-writer.git
git@gitee.com:luckilyhhp/czml-writer.git
luckilyhhp
czml-writer
czml-writer
master

搜索帮助