Adding include and lib directories for windows

This commit is contained in:
Zoe Roux 2021-04-16 17:07:47 +02:00
parent 82bdcc9446
commit c36796f9f6

View File

@ -43,8 +43,12 @@ jobs:
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: Enabling windows compilations tools - name: Enabling windows compilations tools
if: matrix.artifact == 'windows'
uses: ilammy/msvc-dev-cmd@v1 uses: ilammy/msvc-dev-cmd@v1
- name: Build the app - name: Build the app
env:
INCLUDE: ${{env.INCLUDE}}:"C:\Program Files (x86)\FFmpeg\include"
LIB: ${{env.LIB}}:"C:\Program Files (x86)\FFmpeg\lib"
run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo run: dotnet publish -r ${{matrix.runtime}} -c Release -o dist Kyoo
- name: Compression output - name: Compression output
shell: bash shell: bash