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
|
||||
# runtime: win-x64
|
||||
# artifact: windows
|
||||
# - os: macOS-latest
|
||||
# runtime: osx-x64
|
||||
# artifact: macos
|
||||
- os: macOS-latest
|
||||
runtime: osx-x64
|
||||
artifact: macos
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Checkout submodules
|
||||
|
@ -20,6 +20,12 @@
|
||||
<LangVersion>default</LangVersion>
|
||||
</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>
|
||||
<ProjectReference Include="../Kyoo.Common/Kyoo.Common.csproj" />
|
||||
<ProjectReference Include="../Kyoo.CommonAPI/Kyoo.CommonAPI.csproj" />
|
||||
@ -106,17 +112,17 @@
|
||||
</Target>
|
||||
|
||||
<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>
|
||||
</None>
|
||||
</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>
|
||||
</None>
|
||||
</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>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
Loading…
x
Reference in New Issue
Block a user