Commit graph

24 commits

Author SHA1 Message Date
Eberhard Beilharz
399baddf23
refactor(linux): rename linux agent specific functions
This change prefixes functions with `ba_` that are intended to be run on
a Linux build agent. That should make it easier to distinguish them from
functions that deal with building Keyman for Linux.

Test-bot: skip
2025-06-25 20:13:09 +02:00
Marc Durdin
825f7d2df0
Merge branch 'maint/common/pr-build-bot' into maint/developer/support-buildLevel 2025-06-16 04:54:29 +07:00
Marc Durdin
11a558e926 maint(developer): support buildLevel
Relates-to: 14125
Build-bot: build
Test-bot: skip
2025-06-14 15:22:15 +10:00
Eberhard Beilharz
3542ed4a9d
Merge pull request #14194 from keymanapp/maint/web/fixrelease
However, we have to use double quotes inside of the string as well so that it gets treated as a command with parameters instead of a single command with spaces.

Follow-up-of: #14168
Part-of: #13399
Test-bot: skip
2025-06-13 22:17:00 +02:00
Eberhard Beilharz
860a1c1aff
maint(developer,web): use double quotes inside the string again
However, we have to use double quotes inside of the string as well so
that it gets treated as a command with parameters instead of a single
command with spaces.

Follow-up-of: #14168
Part-of: #13399
Test-bot: skip
2025-06-13 22:02:06 +02:00
Eberhard Beilharz
7868bec04c
maint(developer): fix developer release build
Follow-up-of: #14184
Part-of: #13399
Test-bot: skip
2025-06-13 18:39:39 +02:00
Eberhard Beilharz
895883cae0
maint(developer,web): use braces for variables in powershell scripts
This changes variable references in the powershell scripts to use braces
(`${FOO}` instead of `$FOO`). This solves the problem where powershell
considers the colon in the rsync command as being part of a variable.
This should fix release builds for Web and Developer.

Also commented some unused variables.

Follow-up-of: #14167,#14168
Part-of: #13399
Test-bot: skip
2025-06-13 12:45:16 +02:00
Eberhard Beilharz
4bfb35c19f
maint(developer): use double quotes so that variable gets replaced
This fixes developer release builds. Previously we used single quotes
for specifying `--rsync-path`. This caused the parameter to contain
the variable name instead of the content.

Follow-up-of: #14059
Part-of: #13399
Test-bot: skip
2025-06-12 18:28:15 +02:00
Eberhard Beilharz
6e7071ada6
maint(developer): define (and use) variables in developer release build
We have to define and set the variables in a powershell script so that
they can be used. This was already done for the other powershell scripts,
but overlooked for this one. Also use variables instead of hard-coding
values.
2025-06-12 18:24:15 +02:00
Eberhard Beilharz
fd314eb2f7
maint(developer): export environment variables
Export the newly introduced variables so that they are available in the
powershell script.

Fixes: #14150
Follow-up-of: #14052
Test-bot: skip
2025-06-10 19:43:47 +02:00
Eberhard Beilharz
8679b6db1d
maint(developer): change to correct directory for powershell scripts 2025-06-05 09:42:39 +02:00
Eberhard Beilharz
e3ebc2e05f
maint(developer): fix build errors
The mainly sneaked in by merging changes from other branches.
2025-06-04 20:58:26 +02:00
Eberhard Beilharz
3e3c56f9e7
maint(developer): add arguments to keyman-developer-release.sh script
Instead of relying on set environment variables this now allows to pass
the required values as arguments.
2025-06-04 20:47:00 +02:00
Eberhard Beilharz
06cb2520e9
maint(developer): run publish action only on Windows
This addresses a code review comment. Instead of checking on each
sub action this now checks on the main publish action.
2025-06-04 20:39:26 +02:00
Eberhard Beilharz
f13270275f
maint(developer): run platform specific scripts only on that platform 2025-06-04 19:54:27 +02:00
Eberhard Beilharz
a85e14feef
maint(developer): add more file headers 2025-06-04 19:53:23 +02:00
Eberhard Beilharz
087c2eec9d
maint(developer): don't automatically install packages on macOS 2025-06-04 19:07:36 +02:00
Eberhard Beilharz
0d0f67ace8
chore(developer): Merge branch 'maint/web/13399_tc-config_dev' into maint/developer/13399_tc-config-dev-refactor 2025-06-04 18:27:07 +02:00
Eberhard Beilharz
86f3f77623
maint(web): update or add file header 2025-06-04 18:05:47 +02:00
Eberhard Beilharz
43c005c3f9
maint(developer): address code review comments
Don't try to install dependencies on macOS - build agents on Windows
and macOS are currently configured manually at this point. We don't
want to be attempting to install dependencies on macOS automatically -
homebrew is extremely fragile for CI as it always updates everything to
latest version (which of course breaks many things).

(from https://github.com/keymanapp/keyman/pull/14059#pullrequestreview-2873213671)
2025-06-03 18:40:23 +02:00
Eberhard Beilharz
e2c32e5126
chore(developer): Merge branch 'maint/web/13399_tc-config_dev' into maint/developer/13399_tc-config-dev-refactor 2025-06-03 18:29:00 +02:00
Eberhard Beilharz
9939ef9e30
maint(developer): allow to build locally on Linux and macOS
This adds a `configure` build step that will install any missing
dependencies required to build on Linux and macoS.

macOS was added based on `resources/devbox/macos/macos.sh` but is
untested.

Test-bot: skip
2025-05-27 20:14:02 +02:00
Eberhard Beilharz
254544364b
maint(web): fix typo 2025-05-27 20:10:43 +02:00
Eberhard Beilharz
797af43b0a
maint(web): move TC configuration for Keyman Developer to scripts
This matches the existing TC configuration as closely as possible.

Part-of: #13399
Test-bot: skip
2025-05-26 19:24:16 +02:00