mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Enabling windows CI
This commit is contained in:
parent
d0166fcf8d
commit
1c4e0343f3
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -15,9 +15,9 @@ jobs:
|
|||||||
- os: ubuntu-16.04 # We are using an old version of ubuntu to have an old libc version (forward compatibility exist but not backward)
|
- os: ubuntu-16.04 # We are using an old version of ubuntu to have an old libc version (forward compatibility exist but not backward)
|
||||||
runtime: linux-x64
|
runtime: linux-x64
|
||||||
artifact: linux
|
artifact: linux
|
||||||
# - 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
|
||||||
@ -37,6 +37,8 @@ jobs:
|
|||||||
elif [[ "${{runner.os}}" == "macOS" ]]; then
|
elif [[ "${{runner.os}}" == "macOS" ]]; then
|
||||||
brew install ffmpeg
|
brew install ffmpeg
|
||||||
else
|
else
|
||||||
|
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
|
||||||
|
sudo apt-get upgrade
|
||||||
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
|
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
|
||||||
fi
|
fi
|
||||||
- name: Build the app
|
- name: Build the app
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -6,6 +6,9 @@ Kyoo/Transcoder/Kyoo.Transcoder.lib
|
|||||||
Kyoo/Transcoder/Kyoo.Transcoder.pdb
|
Kyoo/Transcoder/Kyoo.Transcoder.pdb
|
||||||
Kyoo/Transcoder/Kyoo.Transcoder.exp
|
Kyoo/Transcoder/Kyoo.Transcoder.exp
|
||||||
|
|
||||||
|
libtranscoder.so
|
||||||
|
libtranscoder.dylib
|
||||||
|
transcoder.dll
|
||||||
|
|
||||||
docs/
|
docs/
|
||||||
|
|
||||||
|
@ -116,13 +116,14 @@
|
|||||||
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' != 'true'"
|
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' != 'true'"
|
||||||
Command="mkdir -p build %26%26 cd build %26%26 cmake .. %26%26 make -j" />
|
Command="mkdir -p build %26%26 cd build %26%26 cmake .. %26%26 make -j" />
|
||||||
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' == 'true'"
|
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' == 'true'"
|
||||||
Command="(if not exist build mkdir build) %26%26 cd build %26%26 cmake .. %26%26 nmake" />
|
Command="(if not exist build mkdir build) %26%26 cd build %26%26 cmake .. -G 'NMake Makefiles' %26%26 nmake" />
|
||||||
<Copy SourceFiles="$(TranscoderRoot)/build/$(TranscoderBinary)" DestinationFolder="." />
|
<Copy SourceFiles="$(TranscoderRoot)/build/$(TranscoderBinary)" DestinationFolder="." />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<ItemGroup Condition="'$(SkipTranscoder)' != 'true'">
|
<ItemGroup Condition="'$(SkipTranscoder)' != 'true'">
|
||||||
<None Include="$(TranscoderBinary)">
|
<None Include="$(TranscoderBinary)">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
<Visible>false</Visible>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user