1 Star 0 Fork 10

mayeror/imewlconverter

forked from studyzy/imewlconverter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 3.23 KB
一键复制 编辑 原始数据 按行查看 历史
studyzy 提交于 2020-08-05 01:50 . Fix msbuild again
image:
- Visual Studio 2019
- Ubuntu
version: "{branch}.{build}"
for:
-
matrix:
only:
- image: Ubuntu
clone_folder: ~/imewlconverter
build_script:
- dotnet build ./src/ImeWlConverterCmd --configuration Release
after_build:
- cd ./src/ImeWlConverterCmd/bin/Release/netcoreapp3.0
- tar czvf ./imewlconverter_Linux_Mac.tar.gz *
- mv ./imewlconverter_Linux_Mac.tar.gz ~/imewlconverter
- cd ~/imewlconverter
# - dotnet ./ImeWlConverterCmd.dll -?
test_script:
- cd ./src/ImeWlConverterCoreTest
- dotnet add ImeWlConverterCoreTest.csproj package Appveyor.TestLogger --version 2.0.0
- cd ../..
- dotnet test --test-adapter-path:. --logger:Appveyor ./src/ImeWlConverterCoreTest/ImeWlConverterCoreTest.csproj --configuration Release
artifacts:
- path: imewlconverter_Linux_Mac.tar.gz
name: DotnetCore
deploy:
tag: $(APPVEYOR_REPO_TAG_NAME)
release: imewlconverter-$(APPVEYOR_REPO_TAG_NAME)
description: 'New Release'
provider: GitHub
auth_token:
secure: XLH30sjOKisCZ2+ehPEf+7NVmaKdH8khPqwfT8BOOg6X6TWo48ptjgj21SZPHrYl # your encrypted token from GitHub
artifact: imewlconverter_Linux_Mac.tar.gz # upload all NuGet packages to release assets
draft: false
prerelease: false
force_update: true
on:
branch: master # release from master branch only
APPVEYOR_REPO_TAG: true # deploy on tag push only
-
matrix:
only:
- image: Visual Studio 2019
clone_folder: C:\imewlconverter
before_build:
- MSBuild "C:\imewlconverter\src\IME WL Converter WinForm.sln" -t:restore
- C:\imewlconverter\nuget.exe restore "C:\imewlconverter\src\IME WL Converter WinForm.sln"
build_script:
- MSBuild "C:\imewlconverter\src\IME WL Converter WinForm.sln" /t:Rebuild /p:Configuration=Release
after_build:
- 7z a imewlconverter_Windows.zip "C:\imewlconverter\src\IME WL Converter Win\bin\Release\*.exe" "C:\imewlconverter\src\IME WL Converter Win\bin\Release\ImeWlConverterCore.dll" "C:\imewlconverter\src\IME WL Converter Win\bin\Release\Readme.txt" "C:\imewlconverter\src\IME WL Converter Win\bin\Release\*.manifest"
test_script:
- nunit3-console "C:\imewlconverter\src\ImeWlConverterCoreTest\bin\Release\net46\ImeWlConverterCoreTest.dll" -result=myresults.xml;format=AppVeyor
artifacts:
- path: imewlconverter_Windows.zip
name: WinForm
deploy:
tag: $(appveyor_repo_tag_name)
release: imewlconverter-$(appveyor_repo_tag_name)
description: 'New Release'
provider: GitHub
auth_token:
secure: XLH30sjOKisCZ2+ehPEf+7NVmaKdH8khPqwfT8BOOg6X6TWo48ptjgj21SZPHrYl # your encrypted token from GitHub
artifact: imewlconverter_Windows.zip # upload all NuGet packages to release assets
draft: false
prerelease: false
force_update: true
on:
branch: master # release from master branch only
APPVEYOR_REPO_TAG: true # deploy on tag push only
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/mayeror/imewlconverter.git
git@gitee.com:mayeror/imewlconverter.git
mayeror
imewlconverter
imewlconverter
master

搜索帮助