Commit Graph

24 Commits

Author SHA1 Message Date
Niels De Graef
6053c523cb ci: Disable introspection when using asan
The job times out when trying to generate the typelib, which seems to be
a known issue, so let's just skip it as we're not testing that anyway.
2023-01-15 00:11:19 +01:00
Niels De Graef
0ef4776a78 ci: Use prebuilt Docker images
Don't waste precious CI time reinstalling/upgrading packages.

Most of the scripts here were taken from GLib's CI scripts, but adjusted
to deal with dependencies that might change between branches rather than
different distros.
2023-01-14 23:52:30 +01:00
Dhanuka Warusadura
b2fbbfcfef ci: A walkaround fix to solve the fedora:asan timeout error
These changes temporarily fix the fedora:asan timeout error caused
by meson. With allow_failure keyword in place the pipeline will
complete even there is a timeout error in fedora:asan
2022-10-22 16:42:52 +05:30
Niels De Graef
e1e5343033 ci: Use the proper Meson b_sanitize option
No idea how `meson -Dsanitize` ever would've worked
2022-05-27 11:28:08 +02:00
Maximiliano
2c3a34cca4 Port documentation to gi-docgen 2022-02-02 12:19:14 +00:00
Daiki Ueno
ea18ce9dea CI: Pin base image to Fedora 34 for now
The current image based on Fedora 35 gives timeout in tests using
D-Bus.  Until we figure out the cause, let's stick with Fedora 34.
2021-11-15 08:04:21 +01:00
Daiki Ueno
4017d2ec51 ci: Enable tpm2 in fedora:coverage, instead of fedora:Werror
This would give a better coverage report for the new TPM2 code.

Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-08-12 19:50:25 +02:00
Daiki Ueno
a804519e61 ci: Fix artifact location for coverage
Signed-off-by: Daiki Ueno <dueno@src.gnome.org>
2021-08-12 19:15:56 +02:00
Dhanuka Warusadura
63907d907e Add TPM2 API and its implementations to egg
These changes define the TPM2 API and add its implementations
to the incubation area (egg/).

Summary of the public API:
`egg_tpm2_initialize`: Start a TPM context.
`egg_tpm2_finalize`: End a TPM context.
`egg_tpm2_generate_master_password`: Generate and returns an
encrypted master password in `GBytes` format. TSS Marshaling,
GVariant serialization is used.
`egg_tpm2_decrypt_master_password`: Decrypts a master password
generated from `egg_tpm2_generate_master_password`. TSS
Unmarshaling, GVariant deserialization is used.

TPM2 API: TSS Enhanced System API (ESAPI)

Proposal: [extend file backend to use TPM2 derived encryption keys](https://gitlab.gnome.org/Teams/Engagement/gsoc-2021/-/issues/13)

Related MRs: [#86](https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/86)

Related Issues: [#63](https://gitlab.gnome.org/GNOME/libsecret/-/issues/63)
2021-08-04 14:42:55 +05:30
Daiki Ueno
8102cfacc7 ci: Make sure the necessary artifacts to be generated before testing
This fixes the CI failures that are caused by missing GIR typelibs and
executables.
2021-08-04 10:39:38 +02:00
Dhanuka Warusadura
00e948e3ad Add --allow-root flag to tpm2-abrmd CI script 2021-07-08 15:15:53 +05:30
Dhanuka Warusadura
af55275eca Enable TPM emulator in CI 2021-07-07 09:45:21 +00:00
Dhanuka
da9637edee Enable static analyzer in CI
These changes enable clang-analyzer and cppcheck static analyzers.

Fixes: https://gitlab.gnome.org/GNOME/libsecret/-/issues/51
2021-03-10 15:40:40 +00:00
Daiki Ueno
01930d5123 .gitlab-ci.yml: install diffutils 2020-03-10 14:05:44 +01:00
Daiki Ueno
225554076a .gitlab-ci.yml: include meson-logs in artifacts 2020-03-10 13:53:44 +01:00
Daiki Ueno
31685e0608 gitlab-ci: Allow pages target to fail 2019-06-09 10:16:50 +02:00
Daiki Ueno
9085c8a6c1 gitlab-ci: Fix the previous change
Don't error out on deploy, if coverage report is not successfully
generated.
2019-06-09 09:08:26 +02:00
Daiki Ueno
5f5e560f0b gitlab-ci: Work around lcov incompatibility with gcc-9 2019-06-09 08:27:23 +02:00
Daiki Ueno
339c19e7ed gitlab-ci: Use meson instead of autotools 2019-06-05 13:57:52 +00:00
Daiki Ueno
b4c909b8bf gitlab-ci: Switch to fedora:28 to fedora:latest 2019-06-05 13:57:52 +00:00
Daiki Ueno
2f29930738 gitlab-ci: Run "dnf upgrade" before installing packages 2018-07-24 16:14:03 +02:00
Daiki Ueno
f150c7a3a0 gitlab-ci: Switch to fedora:28 from fedora:rawhide 2018-07-24 15:18:53 +02:00
Daiki Ueno
c23f8134e9 gitlab-ci: Really run "make check" with ASan 2018-06-11 10:03:49 +02:00
Daiki Ueno
79ca2bd319 build: Enable gitlab-ci 2018-06-07 10:07:11 +02:00