Summary: For now i setup the CI using VSTS (Visual Studio Team Services) , i m using my own account, but i want to move this to a Travis setup so it would be easy ported to Facebook own build system. We can also take a look on how buck can help with this. Here's a overview of my dashboard for the build and release process on VSTS: <img width="1084" alt="screen shot 2017-02-16 at 23 52 07" src="https://cloud.githubusercontent.com/assets/1235097/23046869/ff4dcada-f4a3-11e6-8d09-fb8974fb58d4.png"> The all process is pretty simple, there's a few tricks here and there, but the basic steps are: <img width="1036" alt="builds" src="https://cloud.githubusercontent.com/assets/1235097/23046874/0cb95fc2-f4a4-11e6-8fd8-3048be7ffd9d.png"> These run for every commit and publish the artifacts, then the release lane takes that artifacts and builds a nuget, after that (and it's not implemented yet) we run UI Tests on devices Android , iOS for the nuget created and run tests on UWP and .net45 on both windows and OS X so Closes https://github.com/facebook/yoga/pull/408 Reviewed By: emilsjolander Differential Revision: D4576542 Pulled By: splhack fbshipit-source-id: 66e0e4c1cb3721ed7aa7118e4e226b6ec575fea8
63 lines
3.0 KiB
XML
63 lines
3.0 KiB
XML
<?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>{2021459E-8FB1-44A4-89F1-E291769CD2C6}</ProjectGuid>
|
|
<ProjectTypeGuids>{EFBA0AD7-5A72-4C68-AF49-83D382785DCF};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>Facebook.Yoga.Android.Tests</RootNamespace>
|
|
<AssemblyName>Facebook.Yoga.Android.Tests</AssemblyName>
|
|
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
|
|
<AndroidApplication>True</AndroidApplication>
|
|
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
|
|
<AndroidResgenClass>Resource</AndroidResgenClass>
|
|
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
|
|
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
|
|
<AndroidUseLatestPlatformSdk>true</AndroidUseLatestPlatformSdk>
|
|
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
|
|
<AndroidTlsProvider></AndroidTlsProvider>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug</OutputPath>
|
|
<DefineConstants>DEBUG;</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AndroidLinkMode>None</AndroidLinkMode>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release</OutputPath>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<AndroidManagedSymbols>true</AndroidManagedSymbols>
|
|
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="Mono.Android" />
|
|
<Reference Include="Xamarin.Android.NUnitLite" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="MainActivity.cs" />
|
|
<Compile Include="Resources\Resource.designer.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Properties\AndroidManifest.xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Facebook.Yoga.Android\Facebook.Yoga.Android.csproj">
|
|
<Project>{EDF7CF8B-5640-4E1D-A2C7-E4BC8BE44363}</Project>
|
|
<Name>Facebook.Yoga.Android</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="..\..\tests\Facebook.Yoga\Facebook.Yoga.Shared.Tests.projitems" Label="Shared" Condition="Exists('..\..\tests\Facebook.Yoga\Facebook.Yoga.Shared.Tests.projitems')" />
|
|
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
|
|
</Project> |