mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
ae37c1bf29
* Upgrades the gradle version (using AGP upgrade assistant) * Upgrades android package dependencies to latest versions (using project settings upgrade tool) * Bump compile platform SDK level to 34 (required for package updates) * Bump java src compatibility version (required for api level 34) * Fix deprecated warnings * Code compile fixes to account for package changes * explicitly specify cmake version * bump NDK to latest LTS version Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2270>
40 lines
1.3 KiB
Makefile
40 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: CC0-1.0
|
|
# SPDX-FileCopyrightText: 2022-2023 Collabora, Ltd. and the Monado contributors
|
|
#
|
|
# To generate all the templated files, run this from the root of the repo:
|
|
# make -f .gitlab-ci/ci-scripts.mk
|
|
|
|
# These also all have their template named the same with a .jinja suffix in the template subdir.
|
|
FILES_IN_SUBDIR := \
|
|
.gitlab-ci/distributions \
|
|
.gitlab-ci/reprepro.sh \
|
|
.gitlab-ci/install-android-sdk.sh \
|
|
.gitlab-ci/install-ndk.sh \
|
|
|
|
CONFIG_FILE := .gitlab-ci/config.yml
|
|
OUTPUTS := .gitlab-ci.yml \
|
|
$(FILES_IN_SUBDIR)
|
|
|
|
all: $(OUTPUTS)
|
|
chmod +x .gitlab-ci/*.sh
|
|
.PHONY: all
|
|
|
|
clean:
|
|
rm -f $(OUTPUTS)
|
|
.PHONY: clean
|
|
|
|
CI_FAIRY := ci-fairy generate-template --config=$(CONFIG_FILE)
|
|
|
|
# Because we have includes, and it goes to a different directory, this is special cased
|
|
.gitlab-ci.yml: .gitlab-ci/templates/.gitlab-ci.yml.jinja $(CONFIG_FILE)
|
|
$(CI_FAIRY) $< > $@
|
|
# Extra deps
|
|
.gitlab-ci.yml: .gitlab-ci/templates/include.win_containers.yml
|
|
.gitlab-ci.yml: .gitlab-ci/templates/include.ci-containers-variables.yml.jinja
|
|
.gitlab-ci.yml: .gitlab-ci/templates/include.ci-containers.yml.jinja
|
|
.gitlab-ci.yml: .gitlab-ci/templates/include.functions.jinja
|
|
|
|
# Everything else is structured alike
|
|
$(FILES_IN_SUBDIR): .gitlab-ci/%: .gitlab-ci/templates/%.jinja $(CONFIG_FILE)
|
|
$(CI_FAIRY) $< > $@
|