This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
Make.config
59 lines (47 loc) · 2.19 KB
/
Make.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
$(TOP)/Make.config.inc: $(TOP)/Make.config $(GIT_DIR)/index
@rm -f $@
@printf "SOM_COMMIT_DISTANCE:=$(shell LANG=C; export LANG && git --git-dir $(GIT_DIR) log `git --git-dir $(GIT_DIR) blame HEAD -- $(abspath $(TOP)/Make.config) | grep SOM_PACKAGE_VERSION= | sed 's/ .*//' `..HEAD --oneline | wc -l | sed 's/ //g')\n" >> $@
-include $(TOP)/Make.config.inc
#
# ⚠️ README ⚠️
#
# A release branch requires updating:
#
# SOM_PACKAGE_VERSION (major/minor #)
# SOM_PACKAGE_VERSION_REV (set to 0 and increment for service releases or previews)
# (and updating the same on main as well, to next version)
#
#
# For developer builds, we check with git which branch is the current one.
# CI builds the SOM_BRANCH variable should already be set.
#
ifeq ($(SOM_BRANCH),)
SOM_BRANCH:=$(shell git rev-parse --abbrev-ref HEAD)
endif
# TODO: reset to 0 after major/minor version bump (SRO) and increment for service releases and previews
# Note: if not reset to 0 we can skip a version and start with .1 or .2
SOM_PACKAGE_VERSION_REV=2
SOM_PRODUCT=BindingToolsForSwift
SOM_PACKAGE_NAME=BindingToolsForSwift
SOM_PACKAGE_VERSION=0.2.$(SOM_PACKAGE_VERSION_REV).$(SOM_COMMIT_DISTANCE)
# The Xcode we need.
# Use the path as used in the Azure Pipelines vm images.
XCODE_VERSION=14.3.1
XCODE_URL=http://xamarin-storage/bot-provisioning/xcodes/Xcode_14.3.1.xip
XCODE_DEVELOPER_ROOT=/Applications/Xcode_14.3.1.app/Contents/Developer
# Minimum Mono version we need
MIN_MONO_VERSION=6.12.0.188
MAX_MONO_VERSION=6.12.0.188
MIN_MONO_URL=https://download.mono-project.com/archive/6.12.0/macos-10-universal/MonoFramework-MDK-6.12.0.90.macos10.xamarin.universal.pkg
# XI version we need
MIN_XI_VERSION=16.4.0.23
MAX_XI_VERSION=16.4.0.23
MIN_XI_URL=https://download.visualstudio.microsoft.com/download/pr/6dea2e56-3063-42bf-9c65-4da93a8902c5/9e47ce909f4adbafaf7978cb6a39e3b5/xamarin.ios-16.4.0.23.pkg
# XM version we need
MIN_XM_VERSION=9.3.0.23
MAX_XM_VERSION=9.3.0.23
MIN_XM_URL=https://download.visualstudio.microsoft.com/download/pr/6dea2e56-3063-42bf-9c65-4da93a8902c5/414da4fd5cb1fac5e167f15927c28943/xamarin.mac-9.3.0.23.pkg
# Minimum macOS version for building
MIN_MACOS_BUILD_VERSION=10.15
MIN_CMAKE_VERSION=3.18.4
MIN_OPENJDK_VERSION=15.0.1