Skip to content
Snippets Groups Projects
Commit ba4812c2 authored by Marvin Scholz's avatar Marvin Scholz
Browse files

CI: Restructure iOS job for multiple architectures

parent a08ff7f1
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ variables: ...@@ -41,7 +41,7 @@ variables:
HOST_ARCH: x86_64 HOST_ARCH: x86_64
TRIPLET: $HOST_ARCH-apple-darwin$VLC_FORCE_KERNELVERSION TRIPLET: $HOST_ARCH-apple-darwin$VLC_FORCE_KERNELVERSION
.variables-ios: &variables-ios .variables-ios-arm64: &variables-ios-arm64
VLC_PATH: /Users/videolanci/sandbox/bin VLC_PATH: /Users/videolanci/sandbox/bin
HOST_ARCH: aarch64 HOST_ARCH: aarch64
TRIPLET: $HOST_ARCH-apple-iphoneos TRIPLET: $HOST_ARCH-apple-iphoneos
...@@ -171,19 +171,22 @@ macos: ...@@ -171,19 +171,22 @@ macos:
# #
# iOS # iOS
# #
ios: .ios-common:
extends: .base-template extends: .base-template
tags: tags:
- macos - macos
script: | script: |
mkdir build && cd build mkdir build && cd build
if [ -n "$VLC_PREBUILT_CONTRIBS_URL" ]; then if [ -n "$VLC_PREBUILT_CONTRIBS_URL" ]; then
../extras/package/apple/build.sh --sdk=iphoneos --arch=aarch64 \ ../extras/package/apple/build.sh --sdk=iphoneos --arch=$HOST_ARCH \
--with-prebuilt-contribs --with-prebuilt-contribs
else else
../extras/package/apple/build.sh --sdk=iphoneos --arch=aarch64 --package-contribs ../extras/package/apple/build.sh --sdk=iphoneos --arch=$HOST_ARCH --package-contribs
fi fi
variables: *variables-ios
ios-arm64:
extends: .ios-common
variables: *variables-ios-arm64
# #
# Android # Android
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment