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>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.0</TargetFramework>
<RuntimeIdentifier>win10-x64</RuntimeIdentifier>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RuntimeIdentifiers>win10-x64;osx-x64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="OpenTK.NETCore" Version="1.1.2749.6433" />