macOS build (#13)

* Ryujinx.csproj: Add osx-x64 RuntimeIdentifier

Allows Ryujinx to build and run on macOS

* Add .travis.yml
This commit is contained in:
Merry 2018-02-14 21:34:38 +00:00 committed by gdkchan
parent 7ed1153062
commit 74fbe1494d
2 changed files with 9 additions and 1 deletions

8
.travis.yml Normal file
View file

@ -0,0 +1,8 @@
os: osx
language: csharp
solution: Ryujinx.sln
mono: none
dotnet: 2.0.0
script:
- dotnet restore
- dotnet build

View file

@ -2,8 +2,8 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework> <TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RuntimeIdentifiers>win10-x64;osx-x64</RuntimeIdentifiers>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="OpenTK.NETCore" Version="1.1.2749.6433" /> <PackageReference Include="OpenTK.NETCore" Version="1.1.2749.6433" />