cbindgen.yml (2934B)
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: "cbindgen toolchain build" 7 attributes: 8 local-toolchain: true 9 worker-type: b-linux-docker-amd 10 worker: 11 max-run-time: 3600 12 run: 13 script: build-rust-based-toolchain.sh 14 toolchain-artifact: public/build/cbindgen.tar.zst 15 16 linux64-cbindgen: 17 treeherder: 18 symbol: TL(cbindgen) 19 worker: 20 max-run-time: 1800 21 run: 22 arguments: ['x86_64-unknown-linux-gnu'] 23 fetches: 24 toolchain: 25 - linux64-clang-toolchain 26 - linux64-rust-toolchain 27 - sysroot-x86_64-linux-gnu 28 fetch: 29 - cbindgen 30 31 linux64-cbindgen-base: 32 treeherder: 33 symbol: TL(cbindgen-base) 34 attributes: 35 local-toolchain: false 36 worker: 37 max-run-time: 1800 38 run: 39 arguments: ['x86_64-unknown-linux-gnu'] 40 fetches: 41 toolchain: 42 - linux64-clang-toolchain 43 - linux64-rust-toolchain 44 - sysroot-x86_64-linux-gnu 45 fetch: 46 # If you update this, make sure to update the minimum version in 47 # build/moz.configure/bindgen.configure as well. 48 - cbindgen-0.29.1 49 50 linux64-aarch64-cbindgen: 51 treeherder: 52 symbol: TLA64(cbindgen) 53 run: 54 arguments: ['aarch64-unknown-linux-gnu'] 55 fetches: 56 toolchain: 57 - linux64-clang-toolchain 58 - linux64-rust-toolchain 59 - sysroot-aarch64-linux-gnu 60 fetch: 61 - cbindgen 62 63 macosx64-cbindgen: 64 treeherder: 65 symbol: TM(cbindgen) 66 run: 67 arguments: ['x86_64-apple-darwin'] 68 fetches: 69 toolchain: 70 - linux64-clang-toolchain 71 - linux64-rust-macos-toolchain 72 - macosx64-sdk-toolchain 73 fetch: 74 - cbindgen 75 76 macosx64-aarch64-cbindgen: 77 treeherder: 78 symbol: TMA64(cbindgen) 79 run: 80 arguments: ['aarch64-apple-darwin'] 81 fetches: 82 toolchain: 83 - linux64-clang-toolchain 84 - linux64-rust-macos-toolchain 85 - macosx64-sdk-toolchain 86 fetch: 87 - cbindgen 88 89 win64-cbindgen: 90 treeherder: 91 symbol: TW64(cbindgen) 92 run: 93 arguments: ['x86_64-pc-windows-msvc'] 94 fetches: 95 toolchain: 96 - linux64-clang-toolchain 97 - linux64-rust-windows-toolchain 98 - vs-toolchain 99 fetch: 100 - cbindgen 101 102 win64-aarch64-cbindgen: 103 treeherder: 104 symbol: TWA64(cbindgen) 105 run: 106 arguments: ['aarch64-pc-windows-msvc'] 107 fetches: 108 toolchain: 109 - linux64-clang-toolchain 110 - linux64-rust-windows-toolchain 111 - vs-toolchain 112 fetch: 113 - cbindgen