embedded-uniffi-bindgen.yml (3200B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 task-defaults: 6 description: "embedded-uniffi-bindgen toolchain build" 7 worker-type: b-linux-docker-amd 8 worker: 9 max-run-time: 1800 10 env: 11 CRATE_PATH: services/app-services-tools/embedded-uniffi-bindgen 12 attributes: 13 local-toolchain: true 14 run: 15 script: build-rust-based-toolchain.sh 16 toolchain-artifact: public/build/embedded-uniffi-bindgen.tar.zst 17 sparse-profile: null 18 resources: 19 - 'services/app-services-tools/embedded-uniffi-bindgen' 20 21 # For Linux platforms target "*-musl" so that the binary will be statically linked. 22 23 linux64-embedded-uniffi-bindgen: 24 treeherder: 25 symbol: TL(eub) 26 platform: linux64/opt 27 run: 28 arguments: ['x86_64-unknown-linux-musl'] 29 attributes: 30 build_platform: linux64-embedded-uniffi-bindgen 31 fetches: 32 toolchain: 33 - linux64-rust-static 34 35 macosx64-embedded-uniffi-bindgen: 36 treeherder: 37 symbol: TM(eub) 38 platform: macosx64/opt 39 run: 40 arguments: ['x86_64-apple-darwin'] 41 attributes: 42 build_platform: macosx64-embedded-uniffi-bindgen 43 fetches: 44 toolchain: 45 - linux64-clang-toolchain 46 - linux64-rust-macos 47 - macosx64-sdk-toolchain 48 49 macosx64-aarch64-embedded-uniffi-bindgen: 50 treeherder: 51 symbol: TMA64(eub) 52 platform: macosx64-aarch64/opt 53 run: 54 arguments: ['aarch64-apple-darwin'] 55 attributes: 56 build_platform: macosx64-aarch64-embedded-uniffi-bindgen 57 fetches: 58 toolchain: 59 - linux64-clang-toolchain 60 - linux64-rust-macos 61 - macosx64-sdk-toolchain 62 63 win32-embedded-uniffi-bindgen: 64 treeherder: 65 symbol: TW32(eub) 66 platform: win32/opt 67 run: 68 arguments: ['i686-pc-windows-msvc'] 69 toolchain-artifact: public/build/embedded-uniffi-bindgen.zip 70 attributes: 71 build_platform: win32-embedded-uniffi-bindgen 72 fetches: 73 toolchain: 74 - linux64-clang-toolchain 75 - linux64-rust-windows 76 - vs-toolchain 77 78 win64-aarch64-embedded-uniffi-bindgen: 79 treeherder: 80 symbol: TWA64(eub) 81 platform: windows2012-aarch64/opt 82 run: 83 arguments: ['aarch64-pc-windows-msvc'] 84 toolchain-artifact: public/build/embedded-uniffi-bindgen.zip 85 attributes: 86 build_platform: win64-aarch64-embedded-uniffi-bindgen 87 fetches: 88 toolchain: 89 - linux64-clang-toolchain 90 - linux64-rust-windows 91 - vs-toolchain 92 93 win64-embedded-uniffi-bindgen: 94 treeherder: 95 symbol: TW64(eub) 96 platform: win64/opt 97 run: 98 arguments: ['x86_64-pc-windows-msvc'] 99 toolchain-artifact: public/build/embedded-uniffi-bindgen.zip 100 attributes: 101 build_platform: win64-embedded-uniffi-bindgen 102 fetches: 103 toolchain: 104 - linux64-clang-toolchain 105 - linux64-rust-windows 106 - vs-toolchain