代码拉取完成,页面将自动刷新
同步操作将从 studyzy/imewlconverter 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。