[vlc-devel] [PATCH 1/3] extras: ci: add SDKNAME for iOS jobs
Jean-Baptiste Kempf
jb at videolan.org
Tue Jul 14 11:35:45 CEST 2020
LGTM for the set.
On Tue, 14 Jul 2020, at 10:13, Alexandre Janniaux wrote:
> Generalize iOS jobs by supplying the SDK name as variable.
>
> It is mainly designed so as to have other SDK than iphoneos one, like
> iPhone simulator or Apple TV.
> ---
> extras/ci/gitlab-ci.yml | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/extras/ci/gitlab-ci.yml b/extras/ci/gitlab-ci.yml
> index 61116fc26b9..974504e2b3c 100644
> --- a/extras/ci/gitlab-ci.yml
> +++ b/extras/ci/gitlab-ci.yml
> @@ -54,12 +54,14 @@ variables:
> HOST_ARCH: arm64
> TRIPLET: $HOST_ARCH-apple-iphoneos
> MAKEFLAGS: -j4
> + SDKNAME: iphoneos
>
> .variables-ios-armv7: &variables-ios-armv7
> VLC_PATH: /Users/videolanci/sandbox/bin
> HOST_ARCH: armv7
> TRIPLET: $HOST_ARCH-apple-iphoneos
> MAKEFLAGS: -j4
> + SDKNAME: iphoneos
>
> .variables-android-arm: &variables-android-arm
> ANDROID_ARCH: arm
> @@ -315,25 +317,25 @@ nightly-macos:
> #
> # iOS
> #
> -.ios-common:
> +.apple-os-common:
> extends: .base-template
> tags:
> - macos
> script: |
> mkdir build && cd build
> if [ -n "$VLC_PREBUILT_CONTRIBS_URL" ]; then
> - ../extras/package/apple/build.sh --sdk=iphoneos
> --arch=$HOST_ARCH \
> + ../extras/package/apple/build.sh --sdk=$SDKNAME
> --arch=$HOST_ARCH \
> --with-prebuilt-contribs
> else
> - ../extras/package/apple/build.sh --sdk=iphoneos
> --arch=$HOST_ARCH --package-contribs
> + ../extras/package/apple/build.sh --sdk=$SDKNAME
> --arch=$HOST_ARCH --package-contribs
> fi
>
> ios-arm64:
> - extends: .ios-common
> + extends: .apple-os-common
> variables: *variables-ios-arm64
>
> ios-armv7:
> - extends: .ios-common
> + extends: .apple-os-common
> variables: *variables-ios-armv7
>
> #
> --
> 2.27.0
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
--
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the vlc-devel
mailing list