mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-06-23 15:30:34 -04:00
Trying to build for macos
This commit is contained in:
parent
f60dae1cf8
commit
6237162eb1
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -18,9 +18,9 @@ jobs:
|
|||||||
# - os: windows-latest
|
# - os: windows-latest
|
||||||
# runtime: win-x64
|
# runtime: win-x64
|
||||||
# artifact: windows
|
# artifact: windows
|
||||||
# - os: macOS-latest
|
- os: macOS-latest
|
||||||
# runtime: osx-x64
|
runtime: osx-x64
|
||||||
# artifact: macos
|
artifact: macos
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
|
@ -20,6 +20,12 @@
|
|||||||
<LangVersion>default</LangVersion>
|
<LangVersion>default</LangVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
|
||||||
|
<IsOSX Condition="'$([MSBuild]::IsOsPlatform(OSX))' == 'true'">true</IsOSX>
|
||||||
|
<IsLinux Condition="'$([MSBuild]::IsOsPlatform(Linux))' == 'true'">true</IsLinux>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="../Kyoo.Common/Kyoo.Common.csproj" />
|
<ProjectReference Include="../Kyoo.Common/Kyoo.Common.csproj" />
|
||||||
<ProjectReference Include="../Kyoo.CommonAPI/Kyoo.CommonAPI.csproj" />
|
<ProjectReference Include="../Kyoo.CommonAPI/Kyoo.CommonAPI.csproj" />
|
||||||
@ -106,17 +112,17 @@
|
|||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="transcoder.dll" Condition="$(OS) == 'Windows_NT' and '$(SkipTranscoder)' != 'true'">
|
<None Include="transcoder.dll" Condition="'$(IsWindows)' == 'true' and '$(SkipTranscoder)' != 'true'">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="libtranscoder.so" Condition="$([MSBuild]::IsOsPlatform(Linux)) and '$(SkipTranscoder)' != 'true'">
|
<None Include="libtranscoder.so" Condition="'$(IsLinux)' == 'true' and '$(SkipTranscoder)' != 'true'">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="libtranscoder.dylib" Condition="$([MSBuild]::IsOsPlatform(OSX)) and '$(SkipTranscoder)' != 'true'">
|
<None Include="libtranscoder.dylib" Condition="'$(IsOSX)' == 'true' and '$(SkipTranscoder)' != 'true'">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user