From 74fbe1494dfbee63300e04db8e911c34407d2717 Mon Sep 17 00:00:00 2001 From: Merry <MerryMage@users.noreply.github.com> Date: Wed, 14 Feb 2018 21:34:38 +0000 Subject: [PATCH] macOS build (#13) * Ryujinx.csproj: Add osx-x64 RuntimeIdentifier Allows Ryujinx to build and run on macOS * Add .travis.yml --- .travis.yml | 8 ++++++++ Ryujinx.csproj | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..15c55336c9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +os: osx +language: csharp +solution: Ryujinx.sln +mono: none +dotnet: 2.0.0 +script: + - dotnet restore + - dotnet build diff --git a/Ryujinx.csproj b/Ryujinx.csproj index 9ad696d89f..9b0e7396a5 100644 --- a/Ryujinx.csproj +++ b/Ryujinx.csproj @@ -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" />