mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
24 lines
921 B
Plaintext
24 lines
921 B
Plaintext
|
#!/bin/sh
|
||
|
# Copyright 2018-2020, 2022, 2024 Collabora, Ltd. and the Monado contributors
|
||
|
# SPDX-License-Identifier: BSL-1.0
|
||
|
|
||
|
#{# ignore the warning, this is actually the template to edit. #}#
|
||
|
#######################################################
|
||
|
# GENERATED - DO NOT EDIT #
|
||
|
# see .gitlab-ci/install-ndk.sh.jinja instead #
|
||
|
#######################################################
|
||
|
#{#
|
||
|
Please run the following after editing:
|
||
|
make -f .gitlab-ci/ci-scripts.mk
|
||
|
#}#
|
||
|
|
||
|
# Partially inspired by https://about.gitlab.com/blog/2018/10/24/setting-up-gitlab-ci-for-android-projects/
|
||
|
{% for distro in distributions -%} {%- for image in distro.images if "android_ndk_version" in image %}
|
||
|
|
||
|
VERSION={{image.android_ndk_version}}
|
||
|
FN=android-ndk-${VERSION}-linux.zip
|
||
|
wget https://dl.google.com/android/repository/$FN
|
||
|
unzip $FN -d /opt
|
||
|
mv /opt/android-ndk-${VERSION} /opt/android-ndk
|
||
|
{% endfor -%} {%- endfor %}
|