spiegel-keyman/resources/build
Eberhard Beilharz 389fb4f9ee
chore(common): Allow to build offline
A lot of the `configure` actions rely on node dependencies and so call
`npm install`. Without a internet connection this hangs forever, even
if you had successfully installed the dependencies before and nothing
changed since then. This change adds a `--offline` parameter that passes
`--prefer-offline` to npm, which causes npm to use the cached
dependencies.

Also sets the `MESON_PACKAGE_CACHE_DIR` environment variable so that all
(sub-)projects share the same package cache dir. This will speed up regular
builds a bit (e.g. `developer/src/kmcmplib` and `core` both have `icu4c`
as a dependency), but will also help with offline builds.

`MESON_PACKAGE_CACHE_DIR` requires Meson 1.3, however older Meson
versions ignore this environment variable and simply continue to use a
cache per subproject, so will continue to work (minus offline builds).
2024-09-18 22:40:20 +02:00
..
ci fix(common): specify title explicitly when opening PR with hub 2024-04-05 09:20:23 +07:00
history chore(common): fixup build scripts 2023-04-28 14:30:52 +07:00
l10n chore(common): Add GitHub action to sync crowdin source 2021-09-14 07:11:07 +07:00
meson chore(developer): shared meson config for kmcmplib 2023-03-09 12:14:15 +07:00
test chore(common): sort bash arrays before asserts in unit tests 2024-08-07 10:09:05 +07:00
version chore(deps): bump semver from 7.5.4 to 7.6.0 2024-08-14 11:22:58 +00:00
win chore(windows): fix typo in environment.inc.sh 2024-08-26 12:59:57 +07:00
_builder_nvm.sh chore(common): use nvm to select version of node for builds 2024-08-01 05:09:08 +07:00
build-download-resources.sh fix(common): Add retries to curl for downloads.keyman.com query 2024-04-29 10:04:50 +07:00
build-help.inc.sh refactor(common): Update to build_help_html params 2023-03-10 12:49:37 +07:00
build-utils-ci.inc.sh chore(developer): cleanup npm publish 2024-05-20 06:34:57 +07:00
build-utils-ci.test.sh chore(common): fixup tests and various typo tweaks 2023-03-13 09:43:09 +07:00
build-utils.sh chore(common): reset KEYMAN_ROOT if not readonly 2024-05-02 15:54:34 +07:00
builder-report.sh chore: update standard script prolog to use builtin instead of dirname 2023-02-22 11:04:15 +07:00
builder.inc.sh chore(common): reset KEYMAN_ROOT if not readonly 2024-05-02 15:54:34 +07:00
builder.md chore(common): Allow to build offline 2024-09-18 22:40:20 +02:00
github.inc.sh chore(web): fixup curl call for cross-platform 2022-05-01 15:59:18 +10:00
help-keyman-com.sh chore(developer): deploy compiler messages to help site 2024-03-01 11:01:47 +07:00
htm-link.lua fix(windows): context help links 2021-03-09 12:35:43 +11:00
html-link.lua chore: add global to lua 2021-03-09 14:32:18 +11:00
increment-version.sh chore: add from and to params to increment-version 2024-02-15 13:12:56 +07:00
jq-license.txt fix(common): build check failed 2020-03-18 14:55:37 +11:00
jq-win64.exe chore(common/resources): use shared scopes definition 2020-05-19 17:08:57 +10:00
jq.inc.sh chore(common): use nvm to select version of node for builds 2024-08-01 05:09:08 +07:00
minimum-versions.inc.sh chore(common): Update KEYMAN_VERSION_UNICODE to 16.0.0 2024-09-11 09:33:30 +07:00
offline-help-style-spec.txt feat(common): unprunes <kbd> styling 2021-05-27 08:55:07 +07:00
publish-minimum-versions.sh chore(common): add data versions to minimum-versions.inc.sh 2024-08-06 13:26:39 +07:00
README.md chore(common): remove vswhere 2023-03-03 04:50:25 +07:00
report-history.sh chore(common): fixup tests and various typo tweaks 2023-03-13 09:43:09 +07:00
run-required-test-builds.sh chore(common): cancel earlier builds when new test builds triggered 2024-02-01 16:02:23 +07:00
sentry-control.inc.sh chore: revise tag variable name to VERSION_GIT_TAG 2023-01-21 17:02:50 +07:00
sentry-dsym-upload.sh chore(ios): create script to upload sentry debug symbol file 2024-04-30 08:04:43 +07:00
set-bundle-versions-and-settings-tagged.sh chore(ios): modify version scripts 2024-04-29 15:52:00 +07:00
set-bundle-versions-and-settings-untagged.sh chore(ios): modify version scripts 2024-04-29 15:52:00 +07:00
set-bundle-versions-tagged.sh chore(ios): modify version scripts 2024-04-29 15:52:00 +07:00
set-bundle-versions-untagged.sh chore(ios): modify version scripts 2024-04-29 15:52:00 +07:00
trigger-builds.inc.sh fix(linux): Fix packaging GHA 2023-11-16 22:15:25 +01:00
trigger-definitions.inc.sh chore(developer): add build triggers for Linux, macOS 2024-08-08 05:25:25 +07:00
xcode-utils.sh chore(ios): change from set -eu to set -e 2024-04-30 10:09:18 +07:00
xcode-wrap.sh chore(ios): modify version scripts 2024-04-29 15:52:00 +07:00

Release builds

A release is triggered nightly whenever a pull request has been merged to the branch; it runs from a TeamCity build configuration that runs increment-version.sh and then uploads the resulting HISTORY.md to https://downloads.keyman.com/history/HISTORY.md.

To manually make a release (for example if a build falls over for a transient error or there was a build configuration problem), create a new PR that targets the branch, merge it, and then run the Trigger Release Builds build configuration for that branch. If you have no changes, see that as an opportunity to improve documentation, including this file...

Various tools

build-utils.sh

See build-utils.md

jq-win64

jq-win64.exe is used by various builds for json query.

Official source: https://stedolan.github.io/jq/. License