blob: fe3d31429dd6da83583397285d72e36d5364da98 [file] [log] [blame]
Arthur She499da002023-10-11 09:04:39 -07001#!/usr/bin/env bash
2#
3# Copyright (c) 2023, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8set -u
9
10gen_mt8186_yaml(){
11 local yaml_file="$workspace/mt8186.yaml"
12 local job_file="$workspace/job.yaml"
13 local payload_type="${payload_type:?}"
14
15 bin_mode="$mode" \
16 "$ci_root/script/gen_mt8186_${payload_type}_yaml.sh" > "$yaml_file"
17
18 cp "$yaml_file" "$job_file"
19 archive_file "$yaml_file"
20 archive_file "$job_file"
21}
22
23set +u