Loading snippets/basop/build-binaries.sh +11 −8 Original line number Diff line number Diff line Loading @@ -39,6 +39,16 @@ merge-source) isar_post_rend_filename="./$DUT_POST_RENDERER_PATH_FOR_BUILD_DO_NOT_MODIFY" commit_file="$CUT_COMMIT_FILE" ;; dut) # This produces the same binary names as merge-source, but sets branch_to_check_out differently # so that this is usable in non-merge-request pipelines branch_to_check_out="$CI_COMMIT_REF_NAME" ivas_cod_filename="./$DUT_ENCODER_PATH_FOR_BUILD_DO_NOT_MODIFY" ivas_dec_filename="./$DUT_DECODER_PATH_FOR_BUILD_DO_NOT_MODIFY" ivas_rend_filename="./$DUT_RENDERER_PATH_FOR_BUILD_DO_NOT_MODIFY" isar_post_rend_filename="./$DUT_POST_RENDERER_PATH_FOR_BUILD_DO_NOT_MODIFY" commit_file="$CUT_COMMIT_FILE" ;; *) echo "Error: invalid mode: $mode" exit 2 Loading @@ -47,11 +57,6 @@ esac echo "Building $mode binaries from branch $branch_to_check_out" # TODO: could probably always be run if [[ "$mode" == "float-ref" ]]; then git rev-parse HEAD >"$CUT_COMMIT_FILE" fi current_commit_sha="$(git rev-parse HEAD)" restore_stash() { Loading @@ -65,9 +70,7 @@ trap restore_stash EXIT # should never fail, even if there is nothing to be stored git stash if [[ "$mode" != "merge-source" ]]; then git checkout "$branch_to_check_out" fi bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/activate-debug-mode-info-if-set.sh Loading Loading
snippets/basop/build-binaries.sh +11 −8 Original line number Diff line number Diff line Loading @@ -39,6 +39,16 @@ merge-source) isar_post_rend_filename="./$DUT_POST_RENDERER_PATH_FOR_BUILD_DO_NOT_MODIFY" commit_file="$CUT_COMMIT_FILE" ;; dut) # This produces the same binary names as merge-source, but sets branch_to_check_out differently # so that this is usable in non-merge-request pipelines branch_to_check_out="$CI_COMMIT_REF_NAME" ivas_cod_filename="./$DUT_ENCODER_PATH_FOR_BUILD_DO_NOT_MODIFY" ivas_dec_filename="./$DUT_DECODER_PATH_FOR_BUILD_DO_NOT_MODIFY" ivas_rend_filename="./$DUT_RENDERER_PATH_FOR_BUILD_DO_NOT_MODIFY" isar_post_rend_filename="./$DUT_POST_RENDERER_PATH_FOR_BUILD_DO_NOT_MODIFY" commit_file="$CUT_COMMIT_FILE" ;; *) echo "Error: invalid mode: $mode" exit 2 Loading @@ -47,11 +57,6 @@ esac echo "Building $mode binaries from branch $branch_to_check_out" # TODO: could probably always be run if [[ "$mode" == "float-ref" ]]; then git rev-parse HEAD >"$CUT_COMMIT_FILE" fi current_commit_sha="$(git rev-parse HEAD)" restore_stash() { Loading @@ -65,9 +70,7 @@ trap restore_stash EXIT # should never fail, even if there is nothing to be stored git stash if [[ "$mode" != "merge-source" ]]; then git checkout "$branch_to_check_out" fi bash "${CI_PROJECT_DIR}"/ivas-codec-ci/snippets/basop/activate-debug-mode-info-if-set.sh Loading