Skip to content

maint: add TC build scripts for models 🪶#319

Merged
mcdurdin merged 5 commits intomasterfrom
maint/14192_tconfig
Sep 1, 2025
Merged

maint: add TC build scripts for models 🪶#319
mcdurdin merged 5 commits intomasterfrom
maint/14192_tconfig

Conversation

@ermshiperete
Copy link
Contributor

@ermshiperete ermshiperete commented Jul 1, 2025

Fixes: keymanapp/keyman#14192
Part-of: keymanapp/keyman#13399
Test-bot: skip

Fixes: #14192
Part-of: #13399
Test-bot: skip
@ermshiperete ermshiperete requested a review from mcdurdin July 1, 2025 15:31
@github-project-automation github-project-automation bot moved this to Todo in Keyman Jul 1, 2025
@ermshiperete ermshiperete changed the title maint: add TC build scripts for models maint: add TC build scripts for models 🪶 Jul 3, 2025
Comment on lines +20 to +22
"--downloads-keyman-com=DOWNLOADS_KEYMAN_COM_URL URL of downloads server" \
"--rsync-path=REMOTE_RSYNC_PATH Path to rsync on remote server" \
"--rsync-dest=RSYNC_DEST Destination for rsync"
Copy link
Member

Choose a reason for hiding this comment

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

  • Do these variables need to be exported in order for them to be available to ci.sh?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

}

function do_publish() {
builder_echo "Uploading models to downloads.keyman.com"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
builder_echo "Uploading models to downloads.keyman.com"
if [[ -z "${DOWNLOADS_KEYMAN_COM_URL+x}" ]]; then
builder_die "Option --downloads-keyman-com must be specified for publish action"
fi
if [[ -z "${REMOTE_RSYNC_PATH+x}" ]]; then
builder_die "Option --rsync-path must be specified for publish action"
fi
if [[ -z "${RSYNC_DEST+x}" ]]; then
builder_die "Option --rsync-dest must be specified for publish action"
fi
builder_echo "Uploading models to downloads.keyman.com"


function do_build() {
builder_echo "Building all models"
"${REPO_ROOT}/build.sh"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"${REPO_ROOT}/build.sh"
"${REPO_ROOT}/build.sh" configure build test

If test is not being run, then it should be. It's still a no-op but at least the connections are in place!

Co-authored-by: Marc Durdin <marc@durdin.net>
@ermshiperete ermshiperete requested a review from mcdurdin August 28, 2025 15:29
@mcdurdin mcdurdin merged commit 684ad92 into master Sep 1, 2025
2 checks passed
@mcdurdin mcdurdin deleted the maint/14192_tconfig branch September 1, 2025 12:28
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

maint(common): move logic for Model builds from TeamCity build configuration into repo-based scripts

2 participants