[vlc-devel] [PATCH] CI: add a UWP libvlc target

Steve Lhomme robux4 at ycbcr.xyz
Thu Jun 11 15:43:48 CEST 2020


On 2020-06-11 15:40, Konstantin Pavlov wrote:
> Hi Steve,
> 
> On Thu, Jun 11, 2020 at 10:30:34AM +0200, Steve Lhomme wrote:
>> +.variables-uwp64-libvlc-llvm: &variables-uwp64-libvlc-llvm
>> +        SHORTARCH: win64
>> +        HOST_ARCH: x86_64
>> +        TRIPLET: $HOST_ARCH-w64-mingw32
>> +
>>   .variables-macos: &variables-macos
>>           VLC_PATH: /Users/videolanci/sandbox/bin
>>           VLC_FORCE_KERNELVERSION: 18
>> @@ -111,11 +117,17 @@ variables:
>>           if [ "${CI_JOB_NAME:0:8}" = "nightly-" ]; then
>>               NIGHTLY_EXTRA_BUILD_FLAGS="-i n -l"
>>           fi
>> +        if [ -z "${CI_JOB_NAME##*-libvlc-*}" ]; then
>> +            LIBVLC_EXTRA_BUILD_FLAGS="-z"
>> +        fi
>> +        if [ -z "${CI_JOB_NAME##*uwp*-*}" ]; then
>> +            UWP_EXTRA_BUILD_FLAGS="-u -w -x"
>> +        fi
> 
> Hmmm, maybe just put those variables under .variables-uwp64-libvlc-llvm?

It could be done but since there's a chance we add win32 and arm64 (and 
maybe arm32) in the future I thought it would be easier to have it more 
automatic.

Same for libvlc. We may want to generate libvlc only builds for all 
sorts of targets.


More information about the vlc-devel mailing list