ソースを参照

macOS build (#13)

* Ryujinx.csproj: Add osx-x64 RuntimeIdentifier

Allows Ryujinx to build and run on macOS

* Add .travis.yml
Merry 8 年 前
コミット
74fbe1494d
2 ファイル変更9 行追加1 行削除
  1. 8 0
      .travis.yml
  2. 1 1
      Ryujinx.csproj

+ 8 - 0
.travis.yml

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

+ 1 - 1
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" />