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)
|
||||
runtime: linux-x64
|
||||
artifact: linux
|
||||
# - os: windows-latest
|
||||
# runtime: win-x64
|
||||
# artifact: windows
|
||||
- os: windows-latest
|
||||
runtime: win-x64
|
||||
artifact: windows
|
||||
- os: macOS-latest
|
||||
runtime: osx-x64
|
||||
artifact: macos
|
||||
@ -37,6 +37,8 @@ jobs:
|
||||
elif [[ "${{runner.os}}" == "macOS" ]]; then
|
||||
brew install ffmpeg
|
||||
else
|
||||
sudo add-apt-repository ppa:jonathonf/ffmpeg-4
|
||||
sudo apt-get upgrade
|
||||
sudo apt-get install -y libavutil-dev libavcodec-dev libavformat-dev
|
||||
fi
|
||||
- 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.exp
|
||||
|
||||
libtranscoder.so
|
||||
libtranscoder.dylib
|
||||
transcoder.dll
|
||||
|
||||
docs/
|
||||
|
||||
|
@ -116,13 +116,14 @@
|
||||
<Exec WorkingDirectory="$(TranscoderRoot)" Condition="'$(IsWindows)' != 'true'"
|
||||
Command="mkdir -p build %26%26 cd build %26%26 cmake .. %26%26 make -j" />
|
||||
<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="." />
|
||||
</Target>
|
||||
|
||||
<ItemGroup Condition="'$(SkipTranscoder)' != 'true'">
|
||||
<None Include="$(TranscoderBinary)">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<Visible>false</Visible>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
Loading…
x
Reference in New Issue
Block a user