Eberhard Beilharz
afc63278b8
chore(linux): Address code review comments
2023-11-13 18:14:55 +01:00
Eberhard Beilharz
0967e120d3
Merge branch 'master' into chore/linux/9801_coreversion
2023-11-04 21:49:33 +07:00
Eberhard Beilharz
33eae05cb0
Merge branch 'master' into fix/linux/9878_fixpkgenv
2023-11-04 21:35:52 +07:00
Eberhard Beilharz
517c300abc
chore(linux): Revert to repository_dispatch
...
This addresses code review comments. Also add readme how to manually
trigger a GHA build, e.g. for testing changes to the GHA.
2023-11-02 22:42:49 +07:00
Eberhard Beilharz
6adfa8a9cf
fix(linux): Fix environment for Debian packages
...
When didn't set the correct environment when building Debian packages
with GitHub actions. The version information wasn't included in the
source file but instead was generated at binary package build time,
at which time not all necessary environment variables were available.
This change will create a patch file on-the-fly which gets
included in the source package that contains the correct information.
Fixes #9878 .
2023-11-02 22:18:02 +07:00
Eberhard Beilharz
30250e3d8d
chore(linux): Enhance GHA API check
...
This change adds additional checks for the symbols file:
- if a line with a method name gets changed, the package version number
in that line also needs to be updated
- for major API changes (methods renamed or removed) the API version
numbers needs to be incremented
- the API version numbers in the .symbols file and in `CORE_API_VERSION.md`
need to match
2023-10-26 18:04:43 +02:00
Eberhard Beilharz
1a2a85affd
chore(linux): Use workflow_dispatch instead of repository_dispatch
...
This makes it possible to manually trigger workflow runs.
Closes #9548 .
2023-10-26 17:16:05 +02:00
Eberhard Beilharz
2e5e586860
chore(linux): Rename libkmnkbp0-0 package
...
Also removes the temporary libkeymancore/libkmnkbp hack that we put in
for packaging GHA.
Closes #9733 .
2023-10-20 17:31:39 +02:00
Eberhard Beilharz
fdc9baadb2
chore(linux): Merge remote-tracking branch 'origin/master' into chore/linux/9733_RenameLibknmkbp
2023-10-20 12:31:14 +02:00
Eberhard Beilharz
1c639e80ea
chore(linux): Update packaging GHA
...
This enhances the packaging GHA to be able to verify the renamed
core library. Since the GHA packaging build always uses the action
definition from `master` this change has to land before we can
successfully build the PR that does the actual renaming of the core
library and Debian package. Later we can remove the references to
`libkmnkbp0-0` again.
Part of #9733 .
2023-10-20 09:56:39 +02:00
Eberhard Beilharz
52bb859817
chore(linux): Rename (lib)kmnkbp to (lib)keymancore
2023-10-19 10:35:09 +02:00
Eberhard Beilharz
46d67d944e
chore(linux): Re-enable building for Ubuntu 23.10 Mantic
...
Now that we have updated ibus packages in place we can re-enable building
for Mantic.
Fixes #9520 and #9398 .
2023-10-17 18:48:53 +02:00
Eberhard Beilharz
9a0160746b
chore(linux): Prevent warning during packaging
...
This change updates gha-ubuntu-packaging to a version that creates
a non-empty changelog entry. This prevents a warning during
package build.
2023-09-21 16:35:33 +02:00
Darcy Wong
1127071d65
Merge pull request #9410 from keymanapp/chore/gha-crowdin-daily
...
chore(common): Update crowdin GHA to trigger daily
2023-08-04 06:48:30 +07:00
Eberhard Beilharz
464f702b00
Merge pull request #9400 from keymanapp/chore/linux/gha-environment
...
chore(linux): Properly treat test builds with packaging GHA
2023-08-03 09:25:33 +02:00
Darcy Wong
ca1c15c8bd
chore(common): Update crowdin GHA to trigger daily
2023-08-03 14:20:14 +07:00
Eberhard Beilharz
1289a54691
chore(linux): Properly treat test builds with packaging GHA
...
Previously GHA builds always used the "local" environment. This
change now detects test builds as well as release builds and properly
sets the environment.
2023-08-02 12:12:26 +02:00
Eberhard Beilharz
e37d5388af
chore(linux): Remove Kinetic from GHA
...
Don't build Ubuntu 22.10 Kinetic with packaging GHA.
Also prepare for Ubuntu 23.10 Mantic - we can't currently
build that because they are trying to get ibus 1.5.29-beta
to work on so there are often new packages. We wait until that
stabilized before we're providing a new patched ibus version
at which point we can enable building for mantic.
See also #9398 .
2023-08-02 10:23:05 +02:00
Marc Durdin
1566c14881
chore: try another variable for reporting
2023-08-02 09:57:42 +07:00
Marc Durdin
a010507a3f
chore: add run-name to deb-packaging
2023-08-02 09:36:56 +07:00
Eberhard Beilharz
9afbbcd7f9
fix(linux): Fix packaging GHA
...
Revert to relative paths.
2023-07-04 19:35:48 +02:00
Eberhard Beilharz
f1989b65b6
fix(linux): Fix packaging GHA
...
Next iteration of fixing packaging GHA.
2023-07-04 16:53:33 +02:00
Eberhard Beilharz
2ab9777c07
fix(linux): Fix packaging GHA
...
Use absolute path to source directory.
2023-07-04 15:51:00 +02:00
Eberhard Beilharz
32a77eb2c2
fix(linux): Another attempt to fix packaging GHA
...
This works around the permission problem we got with the previous
commit.
2023-07-03 20:02:22 +02:00
Eberhard Beilharz
4bd0b40de6
fix(linux): Fix packaging GHA
...
The previous version of gha-ubuntu-packaging was faulty.
2023-06-30 17:56:28 +02:00
Eberhard Beilharz
dc22af5b47
fix(linux): Fix GHA package builds for non-Jammy dists
...
Fixes #9024 .
2023-06-28 19:11:43 +02:00
Darcy Wong
bb8087c751
chore(common): Bump crowdin github action to 1.3.2
2023-06-16 05:55:25 -05:00
Eberhard Beilharz
a6c4c0763b
chore(linux): Properly set variables in GHA
2023-05-30 19:01:10 +02:00
Eberhard Beilharz
29a35f1b31
chore(linux): Add missing dependency to GHA
...
Since we reference `sourcepackage` in the upload-to-llso step it
should be listed in the `needs` list.
2023-05-23 10:27:40 +02:00
Eberhard Beilharz
cb0b7535b1
chore(linux): Build for Lunar on all platforms
...
Add building and upload to llso/pso now that this is possible.
2023-05-05 13:02:15 +02:00
Marc Durdin
eb344c235f
chore(linux): fixup build-utils ref in gha workflow
2023-03-13 08:43:50 +07:00
Eberhard Beilharz
24e07f2d9b
chore(linux): Remove debug output from packaging GHA
2023-03-06 08:50:25 +01:00
Eberhard Beilharz
3541f3080f
chore(linux): More GHA debugging
2023-03-02 10:44:13 +01:00
Eberhard Beilharz
718133d3aa
chore(linux): More debug output
2023-03-01 10:12:21 +01:00
Eberhard Beilharz
ea4ec8437e
chore(linux): Add debug output
2023-02-27 17:46:27 +01:00
Eberhard Beilharz
99fd8b8f3d
chore(linux): Add trust for gpg key
2023-02-27 17:11:22 +01:00
Eberhard Beilharz
8fef2a5c28
fix(linux): Fix upload in packaging GHA
...
Missed a fairly important step :-).
2023-02-23 20:21:28 +01:00
Eberhard Beilharz
43d49cde35
fix(linux): Fix paths in upload action of packaging GHA
2023-02-21 19:39:32 +01:00
Eberhard Beilharz
38d3eb7ff7
chore(linux): Cleanup GHA
...
`deb_signing` only runs for release builds, so it doesn't make
sense that `set_status` (which only runs for non-release builds)
depends on it.
2023-02-21 10:17:00 +01:00
Eberhard Beilharz
c303a7743d
chore(linux): Improve deb-packaging GHA
...
This change eliminates the need to checkout the Keyman source repo
on the self-hosted runner. The checkout previously timed out, and
the only reason we need it was the `apt-install` action. So now
we directly call `apt install` instead of using the action.
2023-02-21 09:14:11 +01:00
Eberhard Beilharz
665c685832
Merge pull request #8247 from keymanapp/fix/linux/gha
...
fix(linux): Checkout before running apt-install
2023-02-20 08:58:39 +01:00
Eberhard Beilharz
b92db47f5f
fix(linux): Checkout before running apt-install
...
We need to check out the source code before we can run the apt-install
action in the packaging GHA.
2023-02-17 06:52:08 +01:00
Eberhard Beilharz
3addac0a9d
chore(linux): Output results of API verification on stderr
...
This reduces the noise on the GHA summary page.
2023-02-16 13:05:04 +01:00
Eberhard Beilharz
9dafac1297
fix(linux): Fix syntax for skipping upload in packaging GHA
2023-02-16 08:31:07 +01:00
Eberhard Beilharz
bfbe2b73c8
fix(linux): Another iteration to fix packaging GHA
2023-02-15 18:28:07 +01:00
Eberhard Beilharz
4b9f57560b
fix(linux): Try a different approach
2023-02-15 16:15:47 +01:00
Eberhard Beilharz
305c6d12a7
Merge pull request #8223 from keymanapp/feat/linux/gha_upload
...
feat(linux): Implement uploading of packages in packaging GHA
2023-02-15 08:43:57 +01:00
Eberhard Beilharz
d9331a49c6
feat(linux): Implement uploading of packages in packaging GHA
2023-02-14 19:08:58 +01:00
Eberhard Beilharz
4a75689f3c
feat(linux): Pass PR# in the event type
...
This allows to see which GHA build ran on which branch/PR.
2023-02-14 17:03:27 +01:00
Eberhard Beilharz
9908eed572
fix(linux): Use PR HEAD for status
...
We need to use HEAD of the PR for setting the status, not the
merge commit.
2023-02-10 18:36:21 +01:00