-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from picoe/curtis/nuget-and-ci
Add nuget and CI
- Loading branch information
Showing
25 changed files
with
406 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The following authors have all licensed their contributions to Eto.Toolkit | ||
under the licensing terms detailed in LICENSE. | ||
|
||
(Authors keep copyright of their contributions, of course; they just grant | ||
a license to everyone to use it as detailed in LICENSE.) | ||
|
||
* Curtis Wensley |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
variables: | ||
solution: 'src/Eto.Toolkit.sln' | ||
build.version: '0.1.0-ci-$(Build.BuildNumber)' | ||
build.configuration: 'Release' | ||
build.arguments: /restore /t:Build;Pack /p:BuildVersion=$(build.version) /p:BuildBranch=$(Build.SourceBranch) | ||
|
||
trigger: | ||
- master | ||
- refs/tags/* | ||
|
||
jobs: | ||
- job: Mac | ||
pool: | ||
vmImage: 'macOS-10.14' | ||
variables: | ||
build.platform: 'Mac' | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- script: sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh 5_18_1 | ||
displayName: 'Select Xamarin SDK version' | ||
- task: MSBuild@1 | ||
displayName: Restore, Build and Package | ||
inputs: | ||
solution: '$(solution)' | ||
platform: '$(build.platform)' | ||
configuration: '$(build.configuration)' | ||
msbuildArguments: '$(build.arguments)' | ||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish nupkg | ||
inputs: | ||
pathtoPublish: artifacts/nuget/$(build.configuration) | ||
artifactName: nuget | ||
publishLocation: container | ||
|
||
- job: Windows | ||
pool: | ||
vmImage: 'windows-2019' | ||
variables: | ||
build.platform: 'Windows' | ||
steps: | ||
- checkout: self | ||
submodules: true | ||
- task: MSBuild@1 | ||
displayName: Restore, Build and Package | ||
inputs: | ||
solution: '$(solution)' | ||
platform: '$(build.platform)' | ||
configuration: '$(build.configuration)' | ||
msbuildArguments: '$(build.arguments)' | ||
- task: PublishBuildArtifacts@1 | ||
displayName: Publish nupkg | ||
inputs: | ||
pathtoPublish: artifacts/nuget/$(build.configuration) | ||
artifactName: nuget | ||
publishLocation: container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/Eto.HtmlRenderer.ImageSharp/Eto.HtmlRenderer.ImageSharp.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Eto.HtmlRenderer\Eto.HtmlRenderer.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="SixLabors.ImageSharp" Version="1.0.0-beta0007" /> | ||
</ItemGroup> | ||
</Project> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net45</TargetFramework> | ||
<MacBuildBundle>False</MacBuildBundle> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Eto.Platform.Mac64" Version="2.4.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\Eto.HtmlRenderer\Eto.HtmlRenderer.csproj" AdditionalProperties="TargetFramework=net45" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> | ||
<ProjectGuid>{B5D415B5-22D9-44C9-888A-26301E76AE99}</ProjectGuid> | ||
<ProjectTypeGuids>{A3F8F2AB-B479-4A4A-A458-A89E7DC349F1};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> | ||
<OutputType>Library</OutputType> | ||
<RootNamespace>Eto.HtmlRenderer.Mac</RootNamespace> | ||
<AssemblyName>Eto.HtmlRenderer.XamMac2</AssemblyName> | ||
<MonoMacResourcePrefix>Resources</MonoMacResourcePrefix> | ||
<UseXamMacFullFramework>true</UseXamMacFullFramework> | ||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion> | ||
<TargetFrameworkIdentifier>Xamarin.Mac</TargetFrameworkIdentifier> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>..\..\artifacts\core\Debug\net45</OutputPath> | ||
<DefineConstants>DEBUG;</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<EnableCodeSigning>false</EnableCodeSigning> | ||
<CreatePackage>false</CreatePackage> | ||
<EnablePackageSigning>false</EnablePackageSigning> | ||
<IncludeMonoRuntime>false</IncludeMonoRuntime> | ||
<UseSGen>false</UseSGen> | ||
<HttpClientHandler></HttpClientHandler> | ||
<LinkMode></LinkMode> | ||
<XamMacArch></XamMacArch> | ||
<AOTMode>None</AOTMode> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<Optimize>true</Optimize> | ||
<OutputPath>..\..\artifacts\core\Release\net45</OutputPath> | ||
<DefineConstants></DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
<EnableCodeSigning>false</EnableCodeSigning> | ||
<CreatePackage>false</CreatePackage> | ||
<EnablePackageSigning>false</EnablePackageSigning> | ||
<IncludeMonoRuntime>false</IncludeMonoRuntime> | ||
<UseSGen>false</UseSGen> | ||
<HttpClientHandler></HttpClientHandler> | ||
<LinkMode></LinkMode> | ||
<XamMacArch></XamMacArch> | ||
<AOTMode>None</AOTMode> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Core" /> | ||
<Reference Include="Xamarin.Mac" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="MacImageAdapter.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\Eto.HtmlRenderer\Eto.HtmlRenderer.csproj"> | ||
<Project>{D9C153E4-6D38-4B4F-8BEE-6C9938D99CE2}</Project> | ||
<Name>Eto.HtmlRenderer</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Eto.Platform.XamMac2"> | ||
<Version>2.5.0-rc.4</Version> | ||
</PackageReference> | ||
<PackageReference Include="NuGet.Build.Tasks.Pack"> | ||
<Version>5.3.0</Version> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Mac\Xamarin.Mac.CSharp.targets" /> | ||
</Project> |
Oops, something went wrong.