From 713b65403b950353c1b0ac1d21e3503be74875bd Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Tue, 5 Sep 2023 10:03:58 +0300 Subject: [PATCH] Enable new SSRC builds in CI Signed-off-by: Jukka Laitinen --- .github/workflows/tiiuae-pixhawk-and-saluki.yaml | 2 +- build.sh | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tiiuae-pixhawk-and-saluki.yaml b/.github/workflows/tiiuae-pixhawk-and-saluki.yaml index f0b37bdea927..15ad15db05aa 100644 --- a/.github/workflows/tiiuae-pixhawk-and-saluki.yaml +++ b/.github/workflows/tiiuae-pixhawk-and-saluki.yaml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - product: [pixhawk, saluki-v2_default, saluki-v2_bootloader, saluki-v2_amp, saluki-v2_protected, saluki-v2_kernel, saluki-pi_default, saluki-pi_bootloader, saluki-pi_amp, saluki-pi_protected] + product: [pixhawk, saluki-v2_default, saluki-v2_bootloader, saluki-v2_amp, saluki-v2_protected, saluki-v2_kernel, saluki-pi_default, saluki-pi_bootloader, saluki-pi_amp, saluki-pi_protected, saluki-v3_default, saluki-v3_amp] uses: ./.github/workflows/tiiuae-pixhawk-and-saluki-builder.yaml with: diff --git a/build.sh b/build.sh index ad5d8acbf868..1ec4f1f1d64f 100755 --- a/build.sh +++ b/build.sh @@ -21,6 +21,8 @@ usage() { echo " saluki-pi_amp" echo " saluki-pi_bootloader" echo " saluki-pi_protected" + echo " saluki-v3_default" + echo " saluki-v3_amp" echo exit 1 } @@ -94,6 +96,14 @@ case $target in cp ${script_dir}/build/ssrc_saluki-v2_kernel/ssrc_saluki-v2_kernel.px4 ${dest_dir}/ssrc_saluki-v2_kernel-${version}.px4 cp ${script_dir}/build/ssrc_saluki-v2_kernel/ssrc_saluki-v2_kernel.bin ${dest_dir}/ssrc_saluki-v2_kernel-${version}.bin ;; + "saluki-v3_default") + $build_cmd_fw ssrc_saluki-v3_default + cp ${script_dir}/build/ssrc_saluki-v3_default/ssrc_saluki-v3_default.px4 ${dest_dir}/ssrc_saluki-v3_default-${version}.px4 + ;; + "saluki-v3_amp") + $build_cmd_fw ssrc_saluki-v3_amp + cp ${script_dir}/build/ssrc_saluki-v3_amp/ssrc_saluki-v3_amp.bin ${dest_dir}/ssrc_saluki-v3_amp-${version}.bin + ;; "saluki-pi_default") $build_cmd_fw ssrc_saluki-pi_default cp ${script_dir}/build/ssrc_saluki-pi_default/ssrc_saluki-pi_default.px4 ${dest_dir}/ssrc_saluki-pi_default-${version}.px4