summaryrefslogtreecommitdiffstats
path: root/taskcluster/ci/toolchain/macos-sdk.yml
blob: 60e4c231fdf34e35970b95c3c5113b66ac011902 (plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
job-defaults:
    attributes:
        local-toolchain: true
    worker-type: b-linux-gcp
    worker:
        max-run-time: 1800
        env:
            PATH: "/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin"
    run:
        script: unpack-sdk.py
        resources:
            - python/mozbuild/mozpack/macpkg.py
            - taskcluster/scripts/misc/unpack-sdk.py
        tooltool-downloads: internal
    # Expiry similar to that of fetches
    expires-after: 1000 years

macosx64-sdk-13.3:
    description: "MacOSX13.3 SDK"
    treeherder:
        symbol: TM(sdk13.3)
    run:
        arguments:
            - https://swcdn.apple.com/content/downloads/15/62/032-84673-A_7A1TG1RF8Z/xpc8q44ggn2pkn82iwr0fi1zeb9cxi8ath/CLTools_macOSNMOS_SDK.pkg
            - 8de3306508dca31040b3b49ff370e96c94f4546bcf22cb4069abbb18e2d6bce8e20d40a6903f00ae75558175b624a979ea0444f54bc6d9d67e841f2000b0d863
            - Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk
        toolchain-artifact: project/gecko/mac-sdk/MacOSX13.3.sdk.tar.zst
        toolchain-alias:
            - MacOSX13.3.sdk

macosx64-sdk-14.2:
    description: "MacOSX14.2 SDK"
    treeherder:
        symbol: TM(sdk14.2)
    run:
        arguments:
            - https://swcdn.apple.com/content/downloads/35/47/042-23550-A_M34N50O9N3/sua6ev7bjcexvorh4709vsgk64zgvsl42p/CLTools_macOSNMOS_SDK.pkg
            - 22ce0acc9ab5c28845218b8c686d0208d6bf66bef64a369d3c0622247ba1258b438c9e44c64bb2bacf5e99eb398a6e7a337f2730cd4a969a7f0d2d5d3107306a
            - Library/Developer/CommandLineTools/SDKs/MacOSX14.2.sdk
        toolchain-artifact: project/gecko/mac-sdk/MacOSX14.2.sdk.tar.zst
        toolchain-alias:
            - macosx64-sdk
            - macosx64-sdk-toolchain
            - MacOSX14.2.sdk

ios-sdk-17.4:
    description: "iPhoneOS17.4 SDK"
    treeherder:
        symbol: TM(ios17.4)
    # Because it's using an internal tooltool artifact, it can't be used as a local-toolchain for
    # bootstrap. But we still want to use the same script as local-toolchains.
    attributes:
        local-toolchain: false
    run:
        script: private_local_toolchain.sh
        arguments:
            - unpack-sdk.py
            - http://taskcluster/tooltool.mozilla-releng.net/sha512/7d9f1f1e0d4963fbafc8ec20ee604665e99d66699db2515f388b3b061aaab83349815e1ef862922f4f46ffbe1ac2d86fb00701802c7a9994c74f6e1d32894c34
            - 7d9f1f1e0d4963fbafc8ec20ee604665e99d66699db2515f388b3b061aaab83349815e1ef862922f4f46ffbe1ac2d86fb00701802c7a9994c74f6e1d32894c34
            - Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk
        toolchain-artifact: project/gecko/mac-sdk/iPhoneOS17.4.sdk.tar.zst
        toolchain-alias: ios-sdk

ios-sim-sdk-17.4:
    description: "iPhoneSimulator17.4 SDK"
    treeherder:
        symbol: TM(ios-sim-17.4)
    # Because it's using an internal tooltool artifact, it can't be used as a local-toolchain for
    # bootstrap. But we still want to use the same script as local-toolchains.
    attributes:
        local-toolchain: false
    run:
        script: private_local_toolchain.sh
        arguments:
            - unpack-sdk.py
            - http://taskcluster/tooltool.mozilla-releng.net/sha512/7d9f1f1e0d4963fbafc8ec20ee604665e99d66699db2515f388b3b061aaab83349815e1ef862922f4f46ffbe1ac2d86fb00701802c7a9994c74f6e1d32894c34
            - 7d9f1f1e0d4963fbafc8ec20ee604665e99d66699db2515f388b3b061aaab83349815e1ef862922f4f46ffbe1ac2d86fb00701802c7a9994c74f6e1d32894c34
            - Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
        toolchain-artifact: project/gecko/mac-sdk/iPhoneSimulator17.4.sdk.tar.zst
        toolchain-alias: ios-sim-sdk