Skip to content

chore(build): better build pipeline #3584

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2025

Conversation

mariadb-LeonidFedorov
Copy link
Collaborator

required for
#3564

@@ -479,19 +510,28 @@ build_binary() {
message "Configuring cmake silently"
${CMAKE_BIN_NAME} "${MDB_CMAKE_FLAGS[@]}" -S"$MDB_SOURCE_PATH" -B"$MARIA_BUILD_PATH" | spinner
message_split
check_debian_install_file
# check_debian_install_file // will be uncommented later
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you forget to uncomment it? Or by later you mean sometime after merging this?

message "Installing silently"
cd $MDB_SOURCE_PATH
${CMAKE_BIN_NAME} --install "$MARIA_BUILD_PATH" | spinner 30
check_errorcode
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it is better use trap command to catch exit signal and call build failure error printing? This way you won't need to call check_errorcode every time
See build_cmapi.sh:39-46

modify_packaging
build_package
message_splitted "PACKAGES BUILD FINISHED"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe put this inside of build_package?

@mariadb-LeonidFedorov mariadb-LeonidFedorov merged commit 2d8e16f into stable-23.10 Jun 9, 2025
1 check was pending
@mariadb-LeonidFedorov mariadb-LeonidFedorov deleted the bootstrap222 branch June 9, 2025 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants