CI: Adding the console host on the windows build

This commit is contained in:
Zoe Roux 2021-08-31 21:04:37 +02:00
parent 75346d8f7a
commit fe70b1de66

View File

@ -43,7 +43,10 @@ jobs:
uses: ilammy/msvc-dev-cmd@v1
- name: Select the project to build
shell: bash
run: echo "PROJECT=$([ "${{runner.os}}" == "Windows" ] && echo Kyoo.Host.WindowsTrait || echo Kyoo.Host.Console)" >> $GITHUB_ENV
run: |
echo "PROJECT=$([ "${{runner.os}}" == "Windows" ]
&& echo " -p:IncludeConsole=true Kyoo.Host.WindowsTrait"
|| echo Kyoo.Host.Console)" >> $GITHUB_ENV
- name: Build the app
env:
INCLUDE: ${{env.INCLUDE}};C:\Program Files\FFmpeg\include